I'm triggered


#1


11

Oops, try again. Your code doesn't look quite right. Check the error message for more details: ReferenceError: age is not defined


var me = new Object ();
     name[name] = "darryl";
     age.name = "nope"


#2

You need to use me.name and me.age and set them equal to those strings.
Also, no indentation needed.
it should look like this:

var me = new Object();
me.name = "name",
me.age = 2323452435;

#3

var me = new Object ();
me[name] = "darryl";
me.age = "nope"

like this?


#4

you need to do me.name, not me[name]
other than that, everythings good except for you need a comma at the end of

and a semi colon after


#5

var me = new Object ();
me.name = "darryl",
me.age = "nope";

Oops, try again. Make sure to set your age key to a number representing your age, like this: age: 26


#6

read the error message, it wants a number for me.age, use a random integer.


#7

var me = new Object ();
me.name = "darryl",
me.age = "26";
still returning the same message


#8

is still a string, get rid of the quotes.


#9

finally worked. thank you


#10

No problem. :slight_smile:
I'm making a note here: huge success.
quote for my 20 chars ^


#11

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