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