How do you create a new object in JavaScript?

Answer Posted / nidz

var myObject={} this also creates a new object

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to detect the OS on the client machine in JavaScript?

705


Is javascript safe to download?

561


how can we retrieve value from one database server and store them another database server using sql server code

1651


What can be the challenges during testing a program or a system?

1852


How to read elements of an array in JavaScript?

602






What's the purpose of javascript?

550


How do you add an element at the end of an array?

623


What is Unobtrusive JavaScript & Why it's Important?

622


Text from your clipboard?

582


How do you clear an array in javascript?

519


How to create an object in javascript?

719


What is double exclamation point?

601


Is javascript backend or frontend?

545


What is the use of a number object in javascript?

605


How do you organize your JavaScript code?

669