Closed
Description
Support dynamic import :
https://developers.google.com/web/updates/2017/11/dynamic-import
module.js :
export const foo = _ => {
console.log('foo');
}
main.js :
const main = async _ => {
const m = await import('module.js');
m.foo();
(await import('module.js')).foo();
}
main();
Should display :
foo
foo
The thing is about supporting 'export' and 'import' keywords.