Consider following snippet:
 var languages = ["HTML", "CSS", "JavaScript", "Python", "Ruby"]; console.log(languages[2]); 
What will be printed to the console?
Explanation
You refer to an array element by referring to the index number. [0] is the first element in an array. [1] is the second. Array indexes start with 0.

Следи за CodeGalaxy

Мобильное приложение Beta

Get it on Google Play
Обратная Связь
Продолжайте изучать
тесты по JavaScript
Cosmo
Зарегистрируйся сейчас
или Подпишись на будущие тесты