Topics

Jump to a topic.

Search questions

Find a question by title, tag, or summary.

Chapter 02

Values and types

The eight language types, how primitives differ from objects, and how to check what a value is.
7 questions
  1. 010What are JavaScript's types?Coming soonCoreeasy
  2. 020Why does typeof null return "object"?Coming sooneasy
  3. 030What's the difference between null and undefined?Coming soonCoreeasy
  4. 040How can a primitive have methods?Coming soonmedium
  5. 050Is JavaScript pass-by-value or pass-by-reference?Coming soonCoremedium
  6. 060What are Symbols for?Coming soonmedium
  7. 070How do you reliably check a value's type?Coming soonmedium