Ciro Santilli OurBigBook.com $£ Sponsor €¥ 中国独裁统治 China Dictatorship 新疆改造中心、六四事件、法轮功、郝海东、709大抓捕、2015巴拿马文件 邓家贵、低端人口、西藏骚乱
web-cheat/esm.html
<!doctype html>
<html lang=en>
<head>
<meta charset=utf-8>
<title>ESM EcmaScript Modules</title>
</head>
<body>
<p>Only works on Chromium 90 if you use a local server on localhost. Does not work by opening the HTML files directly.</p>
<p>Expected outcome: "asdfqwer" should show after this line:</p>
</body>
<script type="module">
import { my_export_1 } from './esm1.js';
import { my_export_2 } from './esm2.js';
const element = document.createElement('div');
element.innerHTML = my_export_1 + my_export_2;
document.body.appendChild(element);
</script>
</html>