Stumped


#1

Hey guys,

I am stuck on this part for a bit now and just can't figure out what to do.

// Parameter is a number, and we do math with that parameter
var timesTwo = function(number) {
return number * 2;
};

// Call timesTwo here!
var newNumber =
console.log(newNumber);

The instructions says "call timesTwo after the equal sign. I enter:

var newNumber= function(timesTwo){

}

That's all I can think off. Any help would be appreciated.


#2

After the equals you should put:

var newNumber = timesTwo(5);

The 5 can be any number you like.