Creating an object #11


11. Arrays and Objects in JS

Did you create your object using the object constructor?

var me = {}; = 'Taylor';


I have no idea why this is not working for 11


because you need to use the constructor method? There are multiply ways to create an object, this exercise wants you specifically to use the constructor method, see information exercise:

When you use the constructor, the syntax looks like this:

var myObj = new Object();


can you show me what that would look like? I'm still confused


it is all in the left column of the exercise? How to create the object, and how to add the property's


is your object name myObj or me?


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