Complete the arrow function that doubles its argument.
const double = (value) ___ value * 2;Answer & explanation
Answer: =>
The `=>` token separates an arrow function’s parameter list from its expression body.
Practice functions with self-contained questions. Check your answer, then use the explanation to understand the reasoning.
const double = (value) ___ value * 2;Answer: =>
The `=>` token separates an arrow function’s parameter list from its expression body.