QuestenaUn entraînement qui indique quoi revoir ensuite
Question 1

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

  1. undefined, null, boolean, number, bigint, string, symbolBonne réponse
  2. undefined, null, boolean, number, string, object, function
  3. null, boolean, number, bigint, string, symbol, object
  4. undefined, boolean, number, bigint, string, array, symbol

Explication

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.

Continuer avec ce test

Commencer l’entraînement
Question 1: Which list contains all seven JavaScript primitive types… · JavaScript Fundamentals · Questena