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