The Principles of Object-Oriented JavaScript by Nicholas Zakas

By Nicholas Zakas
If you’ve used a extra conventional object-oriented language, corresponding to C++ or Java, JavaScript most likely doesn’t appear object-oriented in any respect. It has no suggestion of periods, and also you don’t even have to outline any gadgets to be able to write code. yet don’t be fooled—JavaScript is a really robust and expressive object-oriented language that places many layout judgements correct into your hands.
In the rules of Object-Oriented JavaScript, Nicholas C. Zakas completely explores JavaScript’s object-oriented nature, revealing the language’s distinct implementation of inheritance and different key features. You’ll learn:
the variation among primitive and reference values
What makes JavaScript features so unique
some of the how you can create objects
how to find your individual constructors
the right way to paintings with and comprehend prototypes
Inheritance styles for kinds and objects
The ideas of Object-Oriented JavaScript will depart even skilled builders with a deeper knowing of JavaScript. release the secrets and techniques in the back of how items paintings in JavaScript so that you can write clearer, extra versatile, and extra effective code.
Table of Contents
Chapter 1. Primitive and Reference Types
Chapter 2. Functions
Chapter three. figuring out Objects
Chapter four. Constructors and Prototypes
Chapter five. Inheritance
Chapter 6. item styles