This site is mobile accessible. Press the "Tap Here" button to use a smaller font-size.



Smartphone icons created by Freepik - Flaticon

JS Arrow Functions

Arrow functions are not supported in IE11 or earlier.

const x = (x, y) => { return x * y; };
document.getElementById("demo").innerHTML = x(5, 5);

You can only omit the return keyword and the curly brackets if the function is a single statement. Because of this, it might be a good habit to always keep them.