Arrow functions

ES6 introduced a new way to define anonymous functions using arrow (=>) operator. In this lesson, we learn how arrow operator helps us in writing more concise code.

Functions can be created in much more pleasant way in es6 with help of arrow functions:

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy