4804d54792
Closes https://github.com/dart-lang/sdk/issues/52852 Allows importing of modules using the JS "import()" expression. The result is a promise that resolves to a module, from which users can then access exported members from. CoreLibraryReviewExempt: Backend-specific library. Change-Id: I4c1caae689be55d1dbb038448e3243bcb80ac8b5 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/343683 Commit-Queue: Srujan Gaddam <srujzs@google.com> Reviewed-by: Sigmund Cherem <sigmund@google.com>
3 lines
62 B
JavaScript
3 lines
62 B
JavaScript
export function testModuleFunction() {
|
|
return 'success';
|
|
} |