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

Treehouse

Getting Started With ES2015 Course

via Treehouse

Overview

Prepare for a new career with $100 off Coursera Plus
Gear up for jobs in high-demand fields: data analytics, digital marketing, and more.

ES2015, also called ES6, is a newer version of the JavaScript language that’s well supported in browsers and commonly used by programmers.

In this course, you'll get up-to-speed with ES2015 basics and be well on your way to writing modern JavaScript. You'll learn best practices for creating variables, using the let and const keywords, and a better way to concatenate string values using template literals. You'll also learn the compact syntax for creating functions using "arrow syntax."

What you'll learn

  • Defining variables with let and const
  • Concatenating strings with template literals
  • Creating arrow functions

Syllabus

Defining Variables With let and const

For most of JavaScript's life, there's been only one way to create, or "declare", a variable: the var keyword. In the latest version of JavaScript there are two new ways: const and let.

Chevron 9 steps
  • Welcome to Getting Started With ES2015

    1:01

  • Declaring Variables in JavaScript

    1:20

  • Creating Unchanging Variables With const

    4:10

  • Using Constants with Arrays and Objects

    2:44

  • Review creating variables with const

    5 questions

  • Defining a Variable with let

    2:48

  • Using let with for Loops

    2:25

  • Reviewing let and const

    1:00

  • Review let and const

    5 questions

Using Template Literals

Template literals offer a lot of convenience when creating strings in JavaScript. Let's look at the main features.

Chevron 3 steps
  • Basic and Multiple Line Strings

    5:48

  • String Interpolation

    4:08

  • Review Template Literals

    5 questions

Create Functions Using Arrow Syntax

ECMAScript 2015 has been widely adopted by all modern browsers. This means we can use a more concise way to write functions. In this workshop we'll convert some traditional functions into a more modern syntax.

Chevron 4 steps
  • Basic Arrow Syntax

    3:43

  • Adding Arguments To Arrow Functions

    1:40

  • Concise Arrow Function Syntax

    3:16

  • Review JavaScript Arrow Functions

    5 questions

Reviews

Start your review of Getting Started With ES2015 Course

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.