Different ways to create an Object in Javascript.
Let us start with common ones.
Object Constructor :
let obj = new Object();
This creates an empty object, here it is obj.
Object Literal Syntax :
let obj = {}
This is just assigning an empty object to variable obj.
Object's create Method:
let obj =...
blog.proagetech.com2 min read