arrow function for loop one line code example Example: javascript oneline function const sum = (x, y) => x + y;