Getting Started With ES2015
Treehouse
Course Summary
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."
-
+
Course Description
About this Course 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
About the Teacher
Joel is a web developer, as well as an author and teacher of JavaScript content at Treehouse. Joel lives in Portland, Oregon with his wife and two-year-old daughter.
-
+
Course 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. 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. 3 stepsCreate 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. 4 steps