11.creating object


#1

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

var meObj = new Object();
meObj["name"] ="ashish";
meObj["age"] =25;

Only we are able to see age 25 not the name


Replace this line with your code.


#2

I am sure on of the mods can give a better answer, but there is no reason to worry.
You don't have a console.log method in your code and therefore nothing should get printed.
But on the "backend" there is probably a fail-safe method that console.log the objects age prop value.


#3

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