Return Keyword


I don't know what is wrong with my syntax can someone help me please??


Your code is technically correct, but it isn't what Codecademy expects and isn't the best it can be.

You called timesTwo() on line 6, but it doesn't serve any purpose; it is a "useless statement." When Codecademy says "// Call timesTwo here!" it means the line below the comment, where the return value would be assigned to newNumber. I see you have already done that, so you're almost done. :smile:

I honestly don't know why Codecademy claims you didn't print out the value of newNumber; you did. Perhaps that extra statement confused it?