Quiz: Objects
Test your knowledge of objects in JavaScript.
We'll cover the following...
1
How is an empty object literal created and assigned to a variable in JavaScript?
A)
myObject = new Object();
B)
const myObject = {};
C)
myObject = {};
D)
new myObject = Object();
Question 1 of 90 attempted
...