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
How to add buttons in javascript?
How to remove duplicates from javascript array?
What does undefined value mean in javascript?
List some of the disadvantages of javascript.
Should I learn java first or javascript?
What is the difference between local storage & session storage?
Explain the difference between javascript and an asp script.
How do I open javascript in browser?
Explain how to write class methods vs. Instance methods.
Where javascript variables are stored?
How to empty an array in JavaScript?
Name the types of functions.
How many types of functions are there in javascript?
How do you check if a value is a number in javascript?
What typeof returns for a null value?