how to require a js file in html code example
Example 1: include js in html
<html>
<head>
</head>
<body>
<script type="text/javascript" src=es4.js></script>
</body>
</html>
Example 2: html load js file
<script src="myscripts.js"></script>