×
×
Correct!
Use destructuring to extract only the third item from the array, into a variable named
const vehicles = ['mustang', 'f-150', 'expedition'];
const [@(5)] = vehicles;
const vehicles = ['mustang', 'f-150', 'expedition'];
const [,,suv] = vehicles;
const vehicles = ['mustang', 'f-150', 'expedition'];
const [, ,suv] = vehicles;
const vehicles = ['mustang', 'f-150', 'expedition'];
const [, , suv] = vehicles;
Not CorrectClick here to try again. Correct! |
This will reset the score of ALL 24 exercises.
Are you sure you want to continue?