Back to course home
0% completed
Quiz
How do you create a new JavaScript object named car with properties make and model?
Choose all correct options
var car = Object("make", "model");
var car = new Object({make: "Toyota", model: "Corolla"});
var car = {"make": "Toyota", "model": "Corolla"};
var car = Object.create("make", "model");
.....
.....
.....
Like the course? Get enrolled and start learning!
Table of Contents
Contents are not accessible
Contents are not accessible
Contents are not accessible
Contents are not accessible
Contents are not accessible