What will be printed to the console when executing the following code?
const car = {
brand: 'Audi',
model: 'Q3',
year: 2020
};
for (let prop in car) {
console.log(car[prop]);
}
What will be printed to the console when executing the following code?
const car = {
brand: 'Audi',
model: 'Q3',
year: 2020
};
for (let prop in car) {
console.log(car[prop]);
}