Friday , September 20 2024

Examine the following code: let car = {make: “Citroen”, model: “DS”}; for (let f in car) console.log(f); What will appear on the console as a result?

Questions BankCategory: JavaScript Essentials 1Examine the following code: let car = {make: “Citroen”, model: “DS”}; for (let f in car) console.log(f); What will appear on the console as a result?
Examine the following code:

let car = {make: "Citroen", model: "DS"};
for (let f in car) console.log(f);

What will appear on the console as a result?

  • "make""model"
  • "car"
  • "make: Citroen" "model: DS"
  • "Citroen" "DS"

More Questions: JavaScript Essentials 1 – JSE1: Module 4 Test