FUNCTION WITH PARAMETERS EXAMPLE
Run
<html>
    <head>
        <script type="text/javaScript">
            function multiplyThem(x, y)
            {
                return x * y;
            }
            // calling the function
            document.write(multiplyThem(2, 7));
        </script>
    </head>
    <body>
        <!-- HTML body -->
    </body>
    
</html>