OK guys I am lost here at what I am missing


#1

Hey all I have been messing around with this for the last 24 hours can someone tell me what I am missing with this? I dont know if I missing the point of this lesson or what

// Parameter is a number, and we do math with that parameter
var timesTwo = function(2) {
return number * 2;
};

// Call timesTwo here!
var newNumber = timestwo(8);
console.log(newNumber);


#2

Plese change the first line.

var timesTwo = function(number) {


#3

I get "ReferenceError: timestwo is not defined"


#4

If you get this error and are pretty sure that it should be, then it is most often just a typo somewhere. In your case you defined a function times T wo (or got it predefined) but tried to use a function times t wo.