Questenaتدريب يوضح لك ما ينبغي مراجعته لاحقًا
السؤال 2

A program evaluates the array [1, 2, 3]. How is that value classified in JavaScript's primitive-versus-object model?

  1. A primitive container
  2. An objectالإجابة الصحيحة
  3. A number-sequence primitive
  4. A distinct eighth primitive type

الشرح

An array is not a primitive value, so it belongs to the object category. Calling it a separate primitive type confuses specialized array behavior with the broader primitive-versus-object classification.

تابع هذا الاختبار

بدء التدريب
السؤال 2: A program evaluates the array [1, 2, 3]. How is that value… · JavaScript Fundamentals · Questena