jscript import js code example
Example 1: import js in html
<script type="text/javascript" src="yourfile.js"></script>
Example 2: javascript import
import { module } from "./path"; // single module
import Module from "./path"; // default export
import Module, { module } from "./path"; // both