Get Programming with JavaScript - Listing 6.13

Listing 6.13 - Returning the sum of two numbers

const add = (x, y) => x + y; const sum = add(50, 23); console.log(sum);