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 do I turn on javascript in google chrome?

738


Write a program to exaplain the deferred scripts using event handlers in javascript.

647


How do I view javascript files in chrome?

685


What are global variables? How are these variable declared and what are the problems associated with using them?

720


What is the most popular javascript library?

623


List few difference between java and javascript?

690


Are Javascript and JScript the same?

729


Why are callbacks used?

635


How compare function works javascript?

607


Can we create session in javascript?

655


Is javascript a dynamic language?

667


What is the difference between innerhtml and append() in javascript?

861


How many days it will take to learn javascript?

642


What is webpack used for?

628


What Does JavaScript Void(0) Mean?

700