Did not print value of newNumber out


#1

Not sure what to do to get the it to print the value of the newNumber out

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

timesTwo("24");
var newNumber = "48";
console.log(newNumber)

#2

You are missing a semicolon on your console.log statement.


#3

Ah ha! Thanks a bunch william!


#4

No problem :slight_smile: I'm always glad to help.


#5

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