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 can you create an Array in JavaScript?
Why is javascript called richer interface?
What is webassembly good for?
Are namespaces are there in javascript?
What are disadvantages of using javascript?
What is a function object?
How do you round a value in javascript?
What are the Non-primitive data types in JavaScript?
Write a program to reverse a string in pure javascript?
What does => mean in node js?
Which built-in method returns the calling string value converted to lower case?
How to detect browser name using JavaScript?
Which is better python or javascript?
Is javascript backend or frontend?
What is argument objects in javascript & how to get the type of arguments passed to a function?