12. Practice makes perfect...I can't seem to figure out why my code won't pas


#1

var object1 = {
boogie: = "Gold",
jay: = 12,
slim: = "Forver"
};

var object2 = {};
object2.hal = "I love you";
object2.mally = 576;
object2.drew = "Howdy";
console.log(object2.hal);
console.log(object2.mally);
console.log(object2.drew);

var object3 = {
slick: = "Hey Hey",
joseph: = 839,
jerry: = "one-hunnid"
};

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


#2

We do not use = in object literal syntax. Just take out those.


#3

Err... You've gotten unexpected tockens in:

and

Remove the equal to sign... You are not assigning variables here.

Hope this helps! :wink:


#4

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