Articles → JavaScript → Difference between new Object() and {} in JavaScript

Difference between new Object() and {} in JavaScript







var obj = new Object();
var obj1 = { name: "karan" }







Posted By  -  Karan Gupta
 
Posted On  -  Tuesday, November 28, 2017

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250