How do you create a new object in JavaScript?

Correct Answer: var obj = new Object(); or var obj = {};

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion