Interview Question - JavaScript Arrays - Find Flight at index

preview_player
Показать описание

We need to get the output for this piece of code.
There is a JavaScript array called flights containing 6 flights.
Then, we add to flights array on index 8 a new flight “Virgin Australia”
Finally, we want to log the value at index 7 in flights.
So..let’s understand at what happens when we run this code.

**********Watch all JavaScript Tutorials**********

***************************************************

Рекомендации по теме
welcome to shbcf.ru