Syntax Error


My code won't pass through, and one of the variables won't print out.

// 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(number) {
return timesTwo * 2




This is the problem.

newNumber = timesTwo(28);

You dont want to times timesTwo by 2 again.

doing that first line is assigning newNumber to equal 2 x the number in the bracket which it got from the first function.