This site is mobile accessible. Press the "Tap Here" button to use a smaller font-size.
Smartphone icons created by Freepik - Flaticon
Call a function which performs a calculation and returns the result:
function myFunction(p1, p2) { return p1 * p2; } let result = myFunction(4, 3); document.getElementById("demo").innerHTML = result;