7/13 What is wrong? I think I did it properly



Oops, try again. It looks like you didn't print out the value of newNumber

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


we dont need "" for number.anything inside "" is string.

therefore "6" and 6 are not same.

also call the function inside console.log for printing return statement.
for example:

console.log(x(arg)) //here x is a function name.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.