Mysterious syntax error


#1



It says syntax error. Can anyone see where ???


var myOwnObject = {
    mode: "active",
    type: "silent",
    color: "turquiose",
    number of cores: 4
};


#2

ok apparently "of" is a code that has it's own function. That's what caused syntax error.


#3

Actually, it's because of you using spaces in your attribute name. It should be one word.


#4

Ohh .... okay ... I actually know that (deep down). Overlooked that one. Cheers !