Improve @babel/runtime esm stability (#12883)
This commit is contained in:
8
test/runtime-integration/src/import-esm.mjs
Normal file
8
test/runtime-integration/src/import-esm.mjs
Normal file
@@ -0,0 +1,8 @@
|
||||
import toArray from "@babel/runtime/helpers/esm/toArray";
|
||||
|
||||
console.log("================= import - esm ======================");
|
||||
console.log("typeof toArray:", typeof toArray);
|
||||
|
||||
const arr = toArray(new Set([1, 2, 3]));
|
||||
|
||||
console.log("arr:", arr.toString());
|
||||
Reference in New Issue
Block a user