Unexpected token


#1


https://www.codecademy.com/courses/javascript-beginner-en-9Sgpi/3/2?curriculum_id=506324b3a7dffd00020bf661#


SyntaxError: Unexpected token


Replace this line with your code. 
var newArray = [ [1, 4, 2], [7], 
myObj = {
    type: 'fancy',
    disposition: 'sunny'
};

newArray = [myObj];
]


#2

you should create myObj outside of the array:

myObj = {
    type: 'fancy',
    disposition: 'sunny'
};

then after this you have a 2d array:

var newArray = [ [1, 4, 2], [7]]

now you should inset myObj in one of the two list (1,4,2 or 7)


#3

ok, got it! Thank you...