Bug or code error?


This will show the age but not the name, also it says that i need to add a name to my object.

var myObj = new Object();
myObj.name = "Somebody";
myObj.age = 39;


if you want to log something to the console, use console.log()

by default, the last variable will be logged. So no, not really a bug.


Yeah I know how to use console.log( ), but it still doesnt let me pass the challenge..


which exercise is this? 11. creating a new object?

Recreate your me object in the editor, but this time, use the object constructor

you have no freedom in the object name, it should be me, not meObj


Thank very much, i just mis understood the directions.:grimacing: