This comprehensive course on Modern JavaScript with ES6 starts with an introduction to ES6, emphasizing its significance in JavaScript's evolution. In this course you will:
- Compare traditional 'var' declarations with the new 'let' and 'const' keywords, essential for writing predictable and maintainable code.
- Explore key concepts such as block scoping, immutable variables, temporal dead zones, and closures
- Cover modern JavaScript features, including template literals for string manipulation, arrow functions with lexical 'this', and array/object destructuring.
- Understand default and rest parameters, the spread operator, and efficient object literal methods.
- New ES6 data structures like Maps, Sets, and Symbols, along with iteration techniques using for-of loops, iterators, and generators, are introduced to enhance code efficiency.
- Modern array methods like Array.from and Array.of are taught for better data manipulation.
- Cover ES6 classes, focusing on syntax, static methods, getters/setters, and inheritance for a more structured approach to object-oriented programming.
This course is ideal for JavaScript developers familiar with the basics, aiming to upgrade their skills to include ES6's latest features for more modern, efficient, and maintainable code.
Overview
Syllabus
- ES6 - ES2015: Introduction
- In this module, we will get introduced to ES6, understanding the significance of this update in modern JavaScript development, and highlighting the key areas where ES6 has enhanced and streamlined coding practices.
- ES6 - Variables and Scoping
- In this module, we will explore the new variable declarations introduced in ES6, focusing on 'let' and 'const', their scoping rules, and how they differ from 'var'. We will also delve into practical applications and challenges involving closures and block scoping.
- ES6 - Modern Features That Will Make Your Coding Experience Easier!
- In this module, we will cover a variety of modern features introduced in ES6 that simplify and enhance the coding experience. These include template literals, arrow functions, destructuring, default parameters, rest and spread operators, and new object literal features.
- ES6 - New Data Structures and Iteration (Iterators, Generators, Maps, Sets)
- In this module, we will dive into the new data structures introduced in ES6, such as maps, sets, and symbols, as well as iterators and generators. We will learn how to iterate over these structures and use their unique features to create more efficient and readable code.
- ES6 - Modern Array Methods
- In this module, we will explore modern array methods introduced in ES6, such as Array.from, Array.of, and other new methods that make working with arrays more powerful and flexible. We will cover practical examples and applications for these methods.
- ES6 - Classes (Static Methods, Getters/Setters, Inheritance, Extends, Super)
- In this module, we will delve into the class syntax introduced in ES6, comparing it with ES5 constructors. We will learn how to define classes, implement static methods, getters, and setters, and use inheritance to create more organized and modular code.
Taught by
Packt - Course Instructors