Home > DeveloperSection > Interviews > How to create a new object in JavaScript?

Posted on    November-01-2012 7:08 AM

 JavaScript JavaScript 
 1 Answer(s)
  1874  View(s)
Rate this:

Danish Khan
Danish Khan

Total Post:5

Posted on    November-01-2012 12:00 AM

 We can create a new object in JavaScript by statement

var obj = new Object(); or var obj = {};

Don't want to miss updates? Please click the below button!

Follow MindStick