QuestenaUn entraînement qui indique quoi revoir ensuite
Question 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 objectBonne réponse
  3. A number-sequence primitive
  4. A distinct eighth primitive type

Explication

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.

Continuer avec ce test

Commencer l’entraînement
Question 2: A program evaluates the array [1, 2, 3]. How is that value… · JavaScript Fundamentals · Questena