guest271314 (2019-06-03T01:29:12.000Z)
guest271314 at gmail.com (2019-06-03T01:51:53.261Z)
One option would be to utilize ```shortName``` https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import#Import_an_export_with_a_more_convenient_alias ``` import { foo as foo1 } from "./aa.js"; const bar1 = { baz: foo1 }; export { bar1 }; import { foo as foo2 } from "./bb.js"; const bar2 = { baz: foo2 }; export { bar2 }; ``` ``` (async() => { const {...bars} = await import("./inline.js"); console.log(bars); })(); ```
guest271314 at gmail.com (2019-06-03T01:42:11.607Z)
One option would be to utilize ```shortName``` https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import#Import_an_export_with_a_more_convenient_alias ``` import { foo as foo1 } from "./aa.js"; let bar1 = { baz: foo1 }; export { bar1 }; import { foo as foo2 } from "./bb.js"; const bar2 = { baz: foo2 }; export { bar2 }; ``` ``` (async() => { const {...bars} = await import("./inline.js"); console.log(bars); })(); ```
guest271314 at gmail.com (2019-06-03T01:41:38.538Z)
One option would be to utilize ```shortName``` https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import#Import_an_export_with_a_more_convenient_alias ``` import { foo as foo1 } from "./aa.js"; let bar1 = { baz: foo1 }; export { bar1 }; import { foo as foo2 } from "./bb.js"; const bar2 = { baz: foo2 }; export { bar2 }; ``` ``` (async() => { const {...bars} = await import("./script.js"); console.log(bars); })(); ```
guest271314 at gmail.com (2019-06-03T01:34:15.273Z)
One option would be to utilize ```shortName``` https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import#Import_an_export_with_a_more_convenient_alias ``` import { foo as foo1 } from "./aa.js"; let bar1 = { baz: foo1 }; export { bar1 }; import { foo as foo2 } from "./bb.js"; const bar2 = { baz: foo2 }; export { bar2 }; ```
guest271314 at gmail.com (2019-06-03T01:33:48.239Z)
One option would be to utilize ```shortName``` https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import#Import_an_export_with_a_more_convenient_alias ``` import {foo as foo1} from "./aa.js"; let bar1 = { baz: foo1 }; export { bar1 }; import {foo as foo2} from "./bb.js"; const bar2 = { baz: foo2 }; export { bar2 }; ```