1
Why is this wrong ?
bananakinq (2)

// Exercise Two: Create a variable called 'cars',
// assign it to an array containing the names of three cars.
let cars = [Tesla, Nissan, Toyota];

console.log(cars);

You are viewing a single comment. View All
2
Edgod (58)

@bananakinq When you forget to put quotes around each element, Javascript will treat each element as a variable instead of a string.