Don't understand this function at all


#1

I hate to admit it, but I've gotten this far without really understanding functions.

Can someone tell me in plain English what's happening here?

var timesTwo = function(number) {
return number * 2;
};

timesTwo
var newNumber = timesTwo(3);
console.log(newNumber);


#2

Hi you could find it here