javascript oneline function code example Example: javascript oneline function const sum = (x, y) => x + y;