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



Smartphone icons created by Freepik - Flaticon

JS Functions

A function can be stored in a variable:

const x = function (a, b) {return a * b};
document.getElementById("demo").innerHTML = x;