how do you use import in any javascript file code example
Example 1: alias import javascript
import {default as alias} from 'my-module';
Example 2: how to call a script from another script in javascript
<script type="text/javascript" src="file1.js"></script>
<script type="text/javascript" src="file2.js"></script>
<script type="text/javascript">
alertOne( );
</script>