CHAPTER 1

image

Object-Oriented JavaScript

If you’ve been developing websites for some time, you may have heard other programmers decree that JavaScript is not an object-oriented programming language, and often in the same sentence write off the language as a result. As JavaScript developers, it’s up to us to educate each other and any naysayers about the JavaScript language, for it is indeed an object-oriented language, and a very powerful one at that.

In reality, when other programmers dismiss JavaScript, they are often belittling it for the fact that it does not adhere to all the same structures and conventions of classical languages, such as C++, ...

Get Pro JavaScript Development: Coding, Capabilities, and Tooling 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.