Chapter 3. Objects
The specification document for ECMAScript defines the language as "an object-oriented programming language for performing computations and manipulating computational objects within a host environment." To put it simply, JavaScript is an object-oriented (OO) language.
The object-oriented approach focuses on objects, their composition, and how they interact with each other. While the whole area that is object-oriented programming is beyond the scope of this book, we'll discuss JavaScript's own flavor of object-oriented programming in this chapter.
Like the previous chapter on functions, there won't be much talk about MooTools here. The MooTools framework is an object-oriented framework at its core and we need to get a solid grasp ...
Get Pro JavaScript with MooTools: Learning Advanced JavaScript Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.