Answer Posted / m_xyz
var obj=new Object();
obj["age"]=18; or obj.age=18
Is This Answer Correct ? | 19 Yes | 0 No |
Post New Answer View All Answers
Where is javascript used most?
Is it possible to do 301 redirects in javascript ?
How generic objects can be created?
How to access an external javascript file that is stored externally and not embedded?
Why is javascript hoisting?
What is Number object in JavaScript?
Is there an ide for javascript?
What is var and let in javascript?
What would you use javascript for?
What is the difference between ‘let’ and ‘const’?
What are the different objects used in javascripts?
How can you to add javascript to a page when performing an asynchronous postback?
What is the difference between local storage & session storage?
What is a fixed-width table and its advantages?
How do you trim in javascript?