Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
The following points summarize what you should have learned during the reading of this book (and investigation of code examples). Read each summary, and if you don’t understand what is being said, return to the topic in the book.
Most everything in JavaScript can act like an object. Complex values are, well, objects and primitive values can be treated like objects. This is why you may hear people say that everything in JavaScript is an object.
Objects are created by invoking a constructor function with the
new keyword, or by using a shorthand
literal expression.
Constructor functions are objects (Function() objects), thus, in JavaScript,
objects create objects.