Expert JavaScript Developer Question:
How to create a new object in JavaScript?
Answer:
Create a new object in JavaScript
var obj = new Object();
//or
var obj = {};
var obj = new Object();
//or
var obj = {};
Previous Question | Next Question |
How to assign object properties? | Where are the best JavaScript resources on the Web? |