Earlier in this chapter, you came across the
Object() constructor function. It's returned when you create objects with the object literal notation and access their
Object() is one of the built-in constructors; there are a few others, and in the rest of this chapter you'll see all of them.
The built-in objects can be divided into three groups:
- Data wrapper objects: These are
typeof(discussed in Chapter 2, Primitive Data Types, Arrays, Loops, and Conditions), with the exception of
- Utility objects: These ...