I am having trouble with number 15 in javascript arrays and objects


#1


Replace this line with your code.


#2

#3

var President = {
name: "Barak Obama";
livingspace: "white house";
};

var newArray = [ [1, 4, 2], [President] ];


#4

when you use the object literal notation (which you did to create the President object), key value pairs are separated from each other with commas (,) not semi-colons (;)


#5

it went through but nothing popped up


#6

good :slight_smile:

well, you don't have any console.log(), so could be nothing is logged to the console.

In many programs there is plenty of code behind the scenes which the user doesn't get to see


#7

ok thanks man that helps


#8