JavaScript: Prototypes
1h 3mIntermediate2021-10-18
Authors

Sasha Vodnik
Principal Technical Course Developer at DocuSign
Course details
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.
Skills covered
JavaScriptOracleLearningProgramming LanguagesSoftware Development
Concepts
0. Introduction
- 01 - Understanding prototypes in JavaScript
- 02 - What you should know
- 03 - Exercise files and environment setup
1. Building Blocks of Prototypes
- 04 - Create object literals
- 05 - Create objects with a constructor function
2. Using Prototypal Inheritance
- 06 - Understand the prototype property
- 07 - Modify an object's prototype
- 08 - Create a prototype chain
- 09 - Apply prototypal inheritance
3. Using ES6 Classes
- 10 - Understand ES6 classes
- 11 - Build prototypes using ES6 classes