Try this exercise. Fill in the missing part by typing it in.
What will be the output of the following code in JavaScript?
JAVASCRIPT
1var cars = []
2cars.push("Ford")
3cars.push("BMW")
4cars.push("Mustang")
5
6cars.splice(2, 1)
Write the missing line below.