Quiz

In this lesson, we’ll test our knowledge of concepts covered in the previous lesson.

Quiz #

1

What is the correct syntax for an arrow function?

let arr = [1,2,3];
A)
let func = arr.map(n -> n+1);
B)
let func = arr.map(n => n+1);
C)
let func = arr.map(n ~> n+1);
Question 1 of 20 attempted
...