You have called the following statement:
console.log(car.make);
What declaration should precede the statement so that the text Jeep
appears in the console as a result of its execution?
var car = {'Jeep'};
let car = [make: 'Jeep', model: 'Cherokee'];
let car = {make: 'Jeep', model: 'Cherokee'};
let car = [make: 'Jeep'];
Explanation & Hint:
To have the text “Jeep” appear in the console as a result of executing the statement let car = {make: 'Jeep', model: 'Cherokee'}; This declaration defines |