QuestenaPráctica que te muestra qué repasar después
Pregunta 1

Which list contains all seven JavaScript primitive types and no object types?

  1. undefined, null, boolean, number, bigint, string, symbolRespuesta correcta
  2. undefined, null, boolean, number, string, object, function
  3. null, boolean, number, bigint, string, symbol, object
  4. undefined, boolean, number, bigint, string, array, symbol

Explicación

JavaScript defines undefined, null, boolean, number, bigint, string, and symbol as its seven primitive types. Adding object or function would be wrong because neither is an additional primitive type.

Continúa con este test

Empezar la práctica
Pregunta 1: Which list contains all seven JavaScript primitive types… · JavaScript Fundamentals · Questena