How do you create a new object in JavaScript?
Submitted by: AdministratorCreate a new object in JavaScript
var obj = new Object();
//or
var obj = {};
Submitted by: Administrator
var obj = new Object();
//or
var obj = {};
Submitted by: Administrator
Read Online JavaScript Job Interview Questions And Answers
Top JavaScript Questions
☺ | What Boolean operators does JavaScript support? |
☺ | Are Java and JavaScript the Same? |
☺ | How about 2+5+"8"? |
☺ | How to get the contents of an input box using JavaScript? |
☺ | To set all checkboxes to true using JavaScript? |
Top Top World Wide Web Categories
☺ | Cascading Style Sheet CSS Interview Questions. |
☺ | HTML5 Interview Questions. |
☺ | Basic Internet Interview Questions. |
☺ | Domain Name System (DNS) Interview Questions. |
☺ | JavaScript Interview Questions. |