Re:ECMAScript 2016+ in Firefox
by chrisl99 on Wednesday February 22, 2017 @10:44AM
(#13706321)
JS modules are working in Safari Technology Preview today - so it should be available to everyone soon enough. Pretty simple too, you load your entry point like this -
<script type="module" src="main.js">
And then main.js runs in strict mode, can use "import", etc.
<script type="module" src="main.js">
And then main.js runs in strict mode, can use "import", etc.