Chapter 16: More on Types

Learning Objectives

Upon completing all the content in this chapter, you should be able to do the following:

  1. Describe the meaning of special primitive types undefined and null and provide examples of situations in which they may be used
  2. Understand the difference between primitive and object types, including what it means for primitive types to be immutable
  3. List the 5 primitive types in JS: string, number, boolean, null, and undefined.

Key Terminology

Here is a list of key terms you should know from this chapter.

  1. primitive
  2. undefined 1 null

Chapter Content