Advanced JavaScript 3: Objects, Collections, Functions
Offered By: Scrimba via Coursera
Course Description
Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
In this course, you'll explore some of JavaScript’s most powerful features to enhance your coding skills. You’ll learn how to design and manage custom objects, as well as work with advanced patterns for handling collections and functions. These concepts will help you write cleaner, more efficient code and leverage JavaScript’s unique capabilities to handle complex scenarios effectively.
There are 3 sections in this course:
1. Creating Custom Objects: Learn how to create custom objects using factory functions, constructor functions, and classes. Explore inheritance via the prototype chain, the use of methods like apply(), call(), and static methods, as well as defining getters, setters, and private fields for controlled property access.
2. Collections and Symbols: Discover efficient data management with JavaScript’s Map and Set collections, and explore Symbols, a unique, immutable data type for private or globally unique properties in objects.
3. Advanced Function Patterns and Generators: Master advanced function techniques including closures, IIFE’s, and recursion. Learn about throttling and debouncing to optimize function execution, and use generators to create controlled iterable sequences.
By the end of the course, you’ll have a wealth of knowledge on modern JS techniques and patterns, giving you the ability to write more efficient, scalable code.
Syllabus
- Creating Custom Objects
- In this section, you’ll learn how to create custom objects through factory functions, constructor functions, and classes. We’ll explore inheritance through the prototype chain, as well as the usage of apply(), call(), static methods, and private fields. You’ll also learn how to define getters and setters to control property access in objects.
- Collections and Symbols
- JavaScript offers special collections like Map and Set for more efficient data management, which you’ll explore in this section. Additionally, you’ll learn about Symbols, a unique and immutable data type used to create private or globally unique properties on objects.
- Advanced Function Patterns and Generators
- This section covers advanced techniques for working with functions in JavaScript. You’ll dive into closures, immediately-invoked function expressions (IIFE’s), and recursion for more complex function handling. We’ll also explore throttling and debouncing to control function execution and introduce generators for creating iterable sequences in a more controlled manner.
Taught by
Tom Chant
Related Courses
Work with augmented reality (AR) and the webCurtin University via edX Learn Intermediate Swift
Codecademy Learn Swift: Closures
Codecademy Introduction to Javascript and Ajax: Building Web Apps
Johns Hopkins University via Coursera Advanced JavaScript Concepts
Packt via Coursera