Mysterious syntax error


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

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


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


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


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