close #143 tweak the code of iterating iterators

Originally we use Array.from to transform iterator into array.
But we found some framework may overwrite the Array.from with a
pollyfill which was not implement correctly.
This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent 39eacdece9
commit 33e69c5af9
2 changed files with 8 additions and 4 deletions

View File

@@ -8,7 +8,8 @@
"sourceMap": true,
"rootDir": "src",
"outDir": "build",
"lib": ["es6", "dom"]
"lib": ["es6", "dom"],
"downlevelIteration": true
},
"compileOnSave": true,
"exclude": ["test"],