Did you make an object called object1?


#1

var myObj = new Object();
myObj['object1'] = "Hot chocolate";
myObj['object2'] = "Pizza";
myObj['object3'] = "Nickel";


#2

What task number is this?


#3

Practice makes perfect


#4

Ok i will get the problem soon!


#5

@codeace40947 can you tell me what task is this? Like Intr. to Objects II ? Please tell us the task and task number next time you give us a question


#6

Ok, it is Array and Objects in JS Practice makes Perfect


#7

Oh, you didnt understand the instructions. Let me go over this with you..

First it tells you to create the three objects, so this:

object1 = new Object();
object2 = new Object();
object3 = new Object();

Then it tells you to give the objects properties, so for example this:

object1["name"] = "something"
object1.city = "MaryLand"
object2.name = "SOMONE"
object2.city = "ARIZONA"
object3.name = "Something"
object3.city = "ALABAMA"

finally console.log one of the properties:

console.log(object1.name);

Hope this helped!


#8

Shake that. Shuffling shuffling


#9

That is actual quote, right here:

Lol