Codington
0 of 6 problems solved • 0%
Use in a course

Exercise prompt

Repair a Block Return

An arrow function with braces does not return its expression automatically. The starter calculates a sum but sends back undefined.

Your task

Add the missing keyword so add(5, 3) returns 8 and the console displays Sum: 8.