Having a problem with creating a new object


I don't understand why it only logged 28, not including my name.
But I can pass the exercise.
So...can anyone helps me? I can't figure it out.

var me=new Object();

var me={};


Sorry, so silly.
I didn't use console.log. That's why.


A post was split to a new topic: Logging to console


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