javascript declare empty object code example
Example 1: declare empty object javascript
var objectA = {} //This is an object literal // NB: Preferred Way
var objectB = new Object() //This is the object constructor
Example 2: how to initialize empty javascript object
let obj = {};
Example 3: javascript create object empty
var empty_obj = {};