adplus-dvertising
frame-decoration

Question

For the below mentioned code snippet:

var o = new Object();

The equivalent statement is:

a.

var o = Object();

b.

var o;

c.

var o= new Object;

d.

Object o=new Object();

Posted under JavaScript

Answer: (c).var o= new Object;

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. For the below mentioned code snippet: var o = new Object(); The equivalent statement is: