Javascript return function error


I am stuck at return functions, Javascript exercise 7. the link above.
The instruction as follows,
'On line 7, after the equals sign, call the function timesTwo with any parameter you want'

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

// Call timesTwo here!
var newNumber = timesTwo(4);

I have tried several times, seeing 'TypeError: console.log is not a function'
somebody with the correct format please.


The instructions are asking only for you to call the timesTwo function with any parameter. They're not asking for a new variable. Just call timesTwo.


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