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 are parameters in javascript?
What do I need to code javascript?
What is the instanceof operator in JavaScript?
How to set the focus in an element using javascript?
Difference between undefined and undeclared variables?
What is triple dot in javascript?
How to get inner html of an element in javascript?
What is an ECMAScript?
How to reload a page using JavaScript?
What is dataview in javascript?
What is push() method in javascript?
What is variable typing in javascript?
Can you run javascript in notepad?
What is null in programming?
How to force a page to go to another page using javascript ?