What is an object in javascript, give an example?
Answer / Abhinav Asgola
An object in JavaScript is a collection of properties (key-value pairs) and methods. It provides a means to store data and associated functions for manipulating that data. An example of an object is: var person = { name: 'John', age: 30 };
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the Non-primitive data types in JavaScript?
How to display Alert in JavaScript
Give an example of closure?
What is new keyword in javascript?
Define escape() function?
Why javascript is dangerous?
Methods get and post in html forms - what's the difference?
What is the difference between .call() and .apply()?
where we use javascript and for which purpose we use javascript how?
13 Answers Bugatti, IBM, Infosys, TCS,
What is called variable typing in javascript?
What causes memory leaks?
In javascript chained select menus are available.first select menu is worked and others are disabled.when we select any one option then the next select menu will worked having option releated to selcted in first select menu.How it possible? what is the coading of this programme?