Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Treehouse

Introducing ES2015 Course (How To)

via Treehouse

Overview

Learn the basics of the ECMAScript 2015, also known as ES6, JavaScript standard. JavaScript has come a long way since it’s inception in 1995. The ECMAScript 2015 specification brought a lot of improvements, the largest set of changes the language has seen to-date.

In this course, we’ll review some of the new features and demonstrate how they can be used to build better JavaScript applications.

What you'll learn

  • Variable declaration with let and const
  • Arrow Functions
  • Destructuring
  • Data Structures
  • Classes

Syllabus

ES2015 Basics

Because JavaScript has a hard requirement to be backwards compatible with older specifications, you can safely continue using what you already know today. However, ES2015 comes with helpful features, like variable and function scoping, which are common in other programming languages.

In this stage, we’ll look at the new let and const variable declarations as well as play with string functions new to the language.

Chevron 6 steps
  • Getting Started with ES2015

    2:51

  • History of ES2015 Review

    5 questions

  • Let and Const

    7:37

  • Template Strings

    4:34

  • String Search Methods

    3:51

  • ES2015 Basics Review

    5 questions

The Cooler Parts of ES2015

ES2015 brought a bunch of cool features to JavaScript. In this stage, we’ll review valuable features like Lexical scoping (which 'this' is this?), Rest Parameters, Spread Operators, Oh My!

Chevron 6 steps
  • Arrow Functions

    4:55

  • Default Parameters

    2:51

  • Functions and Parameters Review

    5 questions

  • Rest Parameters and Spread Operator

    5:19

  • Destructuring

    5:24

  • Parameters and Destructuring Review

    5 questions

Objects and New Collection Types

In this stage, we’ll look at a new way of composing an object, and review utility objects that make working with hashed data a whole lot simpler.

Chevron 6 steps
  • Object Property Shorthand

    2:23

  • For...Of

    3:18

  • Object Property Shorthand and For...Of Review

    5 questions

  • Set

    8:27

  • Map

    6:43

  • Set and Map Review

    5 questions

Classes

JavaScript has always had a prototype-based inheritance system and the introduction of classes does not change that. In this stage, we’ll review how to use the new class syntax to improve the readability of our code.

Chevron 6 steps
  • Structure of Class

    6:41

  • Sub-Classes

    6:59

  • Class Structure and Sub-Class Review

    5 questions

  • Static Methods

    3:05

  • Getter and Setter Methods

    6:39

  • Static, Getter and Setter Methods

    5 questions

Taught by

Guil Hernandez

Reviews

Start your review of Introducing ES2015 Course (How To)

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.