Using the above syntax as a guide, create an object, me, in the editor. It should have a name key with the value of your name (as a string) and an age key with the value of your age (as a number)


#1

can someone help me to understand this topic ?

var me = {
var name = "marwan",
var age = "20"
};

it gives me (SyntaxError: missing : after property id)


#2

@nawram this is how how the object literal notation written

myObject = {
    property1 : value1,
    property2 : value2

};

use this to correct the code you have there