Object Creation in JS

by Santosh Giridhara

JavaScript

var myObj1 = new Object();
console.log(myObj1);console.log(typeof myObj1);