Quiz 1: Arrow Functions

This lesson will test your basic understanding of arrow functions in JavaScript.

Arrow functions: A brief overview #

Arrow functions were introduced in the ES6 version of JavaScript to offer a new syntax for writing functions. They present a more concise way of writing function expressions. They use the => token.

Syntax #

Let’s take a look at the basic syntax:

Level up your interview prep. Join Educative to access 80+ hands-on prep courses.