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
Can you give an example showing javascript hoisting?
What are the types of data types?
Is a hash table an array?
What is the difference between undefined value and null value?
What is an onclick?
What are the distinct types of error name values?
What is namespacing in javascript and how is it used?
What is break and continue statements?
What is null in js?
How to create an array in javascript?
What is scope variable in javascript?
What is a javascript code?
What is screen object in JavaScript?
What is javascript used for in web design?
What is the data type of variables in javascript?