Introduction to ECMAScript 6 (ES6)

Core ES6 Scripting and Development Skills for Modern Web Developers

TT4145

Introductory

2 Days

Course Overview

ECMAScript 6 is the new edition to the ECMAScript language, whose specifications are inherited by JavaScript. ES6 gives a vast makeover to JavaScript by adding new syntaxes and APIs to write complex applications and libraries that are easier to debug and maintain. By learning the latest version of ECMAScript, you'll have a greater understanding of JavaScript and more confidence and fluency when developing with it - follow this course and use and adopt ES6 features into your work, instead of the usual tired JavaScript hacks and tricks.

JumpStart to ECMAScript 6 (ES6) introduces students to ECMAScript 6's built-in objects and shows them how to create custom Iterators.  It also provides guidance on Next, as well as how to write asynchronous code in a synchronous style using ES6, so developers can unlock greater control and sophistication in the way they develop with JavaScript.

Beyond this, students will also explore how to learn how to use Reflect API to inspect and manipulate object properties. Next, it teaches how to create proxies, and use it to intercept and customize operations performed on objects. Finally, it explains old modular programming techniques such as IIFE, CommonJS, AMD, and UMD and also compares it with ECMAScript modules and demonstrates how modules can increase the performance of websites when used.

Course Objectives

Our engaging instructors and mentors are highly experienced practitioners who bring years of current "on-the-job" experience into every classroom. Working in a hands-on learning environment, guided by our expert team, attendees will learn about and explore:

  • Learn the new syntax of ECMAScript 6
  • Use the new prototype-based features introduced by ES6
  • Execute ES6 in a non-supported ES6 environment
  • Learn how to write asynchronous code using promises - it makes your code more efficient and easier to maintain
  • Find out how to use iterators, iterables, and generators
  • Explore object-oriented programming and create objects using classes
  • Build proxies using the ES6 proxy API and understand its uses
  • Learn how to create JavaScript libraries using ECMAScript 6 modules

Course Prerequisites

In order to be successful in this class, incoming attendees are required to have at least some basic experience working with HTML and CSS. Some exposure to JavaScript would be helpful as well.

Take Before: Attendees should have experience with the topics in the following courses, or should have recently attended these as a pre-requisite:

  • TT4605: Web Essentials: HTML5 / CSS3
  • TT4110:  Introduction to Modern JavaScript

Take After: Our core training courses provide students with a solid foundation for continued learning based on role, goals, or their areas of specialty.  Our web developer learning paths offer a wide variety of continued learning paths such as:

  • TT4193: Introduction to React | React Essentials (3 days)
  • TT4190: Getting Started with React (5 days)
  • Additional React, Redux, NodeJS / MEANStack, Angular or other next level web development courses
  • Web security training
  • Please contact us for recommended next steps tailored to your longer-term education, project, role or development objectives.

Course Agenda

Please note that this list of topics is based on our standard course offering, evolved from typical industry uses and trends. We will work with you to tune this course and level of coverage to target the skills you need most. Course agenda, topics and labs are subject to adjust during live delivery in response to student skill levels and interests.

 

  1. Playing with Syntax
  • The let keyword
  • The const keyword
  • Default parameter values
  • The spread operator
  • The rest parameter
  • The destructuring assignment
  • The arrow functions
  • The enhanced object literals
  1. Knowing Your Library
  • Working with numbers
  • Doing Math
  • Working with strings
  • Arrays
  • Collections
  • Object
  1. Using Iterators
  • The ES6 symbols
  • The iteration protocols
  • Generators
  • The "for…of" loop
  • The tail call optimization
  1. Asynchronous Programming
  • The JavaScript execution model
  • Writing asynchronous code
  • Promises to the rescue
  • The JavaScript APIs based on Promises
  1. Implementing the Reflect API
  • The Reflect object
  1. Using Proxies
  • Proxies in a nutshell
  • The Proxy API
  • The uses of proxies
  1. Walking You Through Classes
  • Understanding the Object-oriented JavaScript
  • Using classes
  • Using "super" in the object literals
  1. Modular Programming
  • The JavaScript modules in a nutshell
  • Implementing modules the old way
  • Implementing modules the new way

Course Materials

Student Materials: Each participant will receive a digital Student Guide and/or Course Notes, code samples, software tutorials, step-by-step written lab instructions (as applicable), diagrams and related reference materials and resource links. Students will also receive the project files (or code, if applicable) and solutions required for the hands-on work.

Hands-On Setup Made Simple! Our dedicated tech team will work with you to ensure our ‘easy-access’ cloud-based course environment, or local installation, is accessible, fully-tested and verified as ready to go well in advance of the course start date, ensuring a smooth start to class and effective learning experience for all participants. In some cases we can also help you install this course locally if preferred. Please inquire for details and options.

Every-Course Extras = High-Value & Long-Term Learning Support! All Public Schedule courses include our unique EveryCourseExtras package (Course Recordings, Live Instructor Follow-on Support, Free *Live* Course Refresh Re-Takes, early access to Special Offers, Free Courses & more). Please inquire for details.

Raise the bar for advancing technology skills

Attend a Class!

Live scheduled classes are listed below or browse our full course catalog anytime

Special Offers

We regulary offer discounts for individuals, groups and corporate teams. Contact us

Custom Team Training

Check out custom training solutions planned around your unique needs and skills.

EveryCourse Extras

Exclusive materials, ongoing support and a free live course refresh with every class.

Mix, Match & Master!
2FOR1: Two Courses, One Price!

Enroll in *any* two public courses (for 2023 *OR* 2024 dates!) by December 31, for one price!  Learn something new, or share the promo!

Click for Details & Additional Offers

Learn. Explore. Advance!

Extend your training investment! Recorded sessions, free re-sits and after course support included with Every Course
Trivera MiniCamps
Gain the skills you need with less time in the classroom with our short course, live-online hands-on events
Trivera QuickSkills: Free Courses and Webinars
Training on us! Keep your skills current with free live events, courses & webinars
Trivera AfterCourse: Coaching and Support
Expert level after-training support to help organizations put new training skills into practice on the job

The voices of our customers speak volumes

Special Offers
Limited Offer for most courses.

SAVE 50%

Learn More