javascript oneline function

JavaScript
const sum = (x, y) => x + y;
Source

Also in JavaScript: