QuestenaПрактика, после которой понятно, что повторить
Вопрос 37

At which index is the first element of an ordinary JavaScript array stored?

  1. 0Правильный ответ
  2. 1
  3. -1
  4. It depends on array length

Объяснение

Array element positions are zero-based, so the first element uses index 0. Choosing index 1 applies one-based counting rather than JavaScript's indexed-element convention.

Продолжить работу с тестом

Начать тренировку
Вопрос 37: At which index is the first element of an ordinary… · JavaScript Fundamentals · Questena