<html>
<body>
<p>After a function has been stored in a variable,
the variable can be used as a function:</p>
<p id="demo"></p>
<script>
var x = function (a, b) {return a * b};
document.getElementById("demo").innerHTML = x(4, 3);
</script>
</body>
<!-- Mirrored from www.w3schools.com/js/tryit.asp?filename=tryjs_function_expression_variable by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 05 Jun 2019 13:23:26 GMT -->
</html>