Earlier in this chapter we came across the
Object() constructor function. It is returned when you create objects with the object literal notation and access their
Object() is one of the built-in constructors; there are 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—
typeof(discussed in Chapter 2) with the exception of "undefined" and "null".
Utility objects—These are
RegExpand can come in very handy.
Only a handful of methods of the built-in objects will be discussed in this chapter. For...