Search⌘ K
AI Features

Quiz

Explore your grasp of key ES6 JavaScript features by completing this quiz and coding challenge. You will practice using arrow function syntax and prepare to learn about default function arguments, reinforcing your skills with modern JavaScript concepts.

Quiz #

Technical 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);

1 / 2
...