Answer Posted / team sam onn
var obj=new Object();
obj["age"]=18; or obj.age=18
Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
What is enum in javascript?
What data types are supported in Javascript?
What is the difference between let and var?
What are javascript closures?when would you use them?
What is javascript bom?
What is NaN in Javascript?
What is a closure javascript? Explain
What is class example?
What is the purpose of local variables?
Is javascript becoming obsolete?
What are the different objects used in javascripts?
What percentage of websites use javascript?
How to create the namespace in javascript?
Why would you use a sticky session?
List html dom mouse events?