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