how to create object and assign the value in object?
Ask by Amit Singh
Updated 21 Sep 2020
var obj =new Object();
or
obj={};
Assign the value in object
obj["name"]="amit";
or
obj.name="amit";