/Wait, what else am i supposed to do?


#1

// 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);

this is the original code

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

// Call timesTwo here!
var newNumber = function(timesTwo)
{
console.log(newNumber);
};
timesTwo(7);

this is my edit of the code

i get the message:"Oops, try again. It looks like you didn't print out the value of newNumber"
even though it only asks me to call the function and give it a value


#2

oh nevermind, i thought we were supposed to call the function, "timesTwo"
instead I named the function "timesTwo"


#3

Calling a function just means:

functionName([args])

where [args] is an optional list of arguments. In you case timesTwo has one parameter so it would be one argument here, no need to rebuild the wheel just use it and see it working.