Which of the following are the ways to create a Javascript Object?
A. var obj = {};
B. var obj = Object.create().
C. var obj = new Object();
D. All of the above
Answer:D
Which of the following are the ways to create a Javascript Object?
A. var obj = {}; B. var obj = Object.create(). C. var obj = new Object(); D. All of the above