From the course: Learn JavaScript: Write Modern Code with JavaScript ESNext

Unlock this course with a free trial

Join today to access over 25,000 courses taught by industry experts.

Learning objectives

Learning objectives

- Welcome to lesson 6, learn JavaScript ES+ syntax. In the previous section, you'll learn about the basic syntax of JavaScript that allows you to write full-scale programs. And in this lesson, we take it a step further and learn many of the new features of JavaScript ES6 and beyond, which offer a lot of very nice syntax for performing tricky, everyday operations. Now, by the end of this lesson, you'll have a solid understanding of how to use all the new features of JavaScript ES6, which honestly will put you well ahead of many professional JavaScript developers who have yet to learn ES6. So as far as the structure of this lesson, this lesson starts off by teaching you a special syntax that can be used for defining functions in JavaScript, as well as how we can set default values for a function's arguments. From there, we see how to use something called the spread operator to not only combine objects and arrays in a more effective way, but also work with a function's arguments, like…

Contents