Chapter 2: Values
array
s, string
s, and number
s are the most basic building-blocks of any program, but JavaScript has some unique characteristics with these types that may either delight or confound you.
Let’s look at several of the built-in value types in JS, and explore how we can more fully understand and correctly leverage their behaviors.