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