What is the correct JavaScript syntax to refer to an external script file code example
Example 1: how to add javascript in html
<script src="script.js"></script>
Example 2: html bind js file
<script type="text/javascript" src="path-to-javascript-file.js"></script>