What is wrong here?


#1

var me=new object();
me.name="dikesh";
me.age=21;


#2

on line 1 you wrote

var me=new object();

but there is no class called object that comes with JavaScript it should rather be

var me=new Object();