What prob?


#1


var me = {
    name: 'shlomo',
    age: '14'
};

var emptyObj = {};
var me = new Object();
Oops, try again. Make sure to give the me object a key called name.


#2

When you execute this line:

var me = new Object();

you are overwriting the value you gave to the variable "me" in this block:

var me = {
name: 'shlomo'
age: '14'
};

Remove the last two lines of your code and you should be good to go.


#3

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