October 2017
Intermediate to advanced
280 pages
6h 50m
English
When developers new to JavaScript hear that the language empowers the object-oriented (OO) paradigm, they're normally confused when they discover that there's no syntax for the definition of classes. This perception was born of the fact that some of the most popular programming languages, such as Java, C#, and C++, have the concept of classes used for the construction of objects. However, JavaScript implements the OO paradigm differently. JavaScript has a prototype-based, object-oriented programming model, where we can instantiate objects using the object literal syntax or functions (also known as the constructor functions), and we can take advantage of the inheritance using the so called prototype chain. ...
Read now
Unlock full access