JavaScript: Prototypes

JavaScript: Prototypes

English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 1h 05m | 231 MB

The JavaScript approach to object-oriented programming feels alien to many developers. While prototypes are core tools for intermediate and advanced programming, even experienced developers may not understand how they work. This course explains how to write more efficient JavaScript code using the prototype chain. Learn fundamental concepts underlying prototypes, such as object literals and constructors, and discover how prototypes can reduce memory usage, improve code organization, and help you cascade changes site-wide with a single update. Instructor Sasha Vodnik also explains how to use ES6 classes to build prototypes with less code and more features.

Table of Contents

Introduction
1 Welcome
2 What you should know
3 Exercise files and environment setup

Building Blocks of Prototypes
4 Create object literals
5 Create objects with a constructor function

Using Prototypal Inheritance
6 Understand the prototype property
7 Modify an object s prototype
8 Create a prototype chain
9 Apply prototypal inheritance

Using ES6 Classes
10 Understand ES6 classes
11 Build prototypes using ES6 classes

Conclusion
12 Next steps