mirror of
https://github.com/hanzoai/babel.git
synced 2026-10-30 14:46:06 +00:00
* refactor: iterate object rest elements only * refactor: use unshiftForXStatementBody * fix: handle object rest in array pattern * update tsconfig.json * improve typings * fix: declare uid identifiers when transforming array pattern within assignment
6 lines
87 B
JavaScript
6 lines
87 B
JavaScript
let a = 0, result, y;
|
|
|
|
for ({ [a++]: result, ...y} of [["0", "1"]]) {
|
|
const a = 1;
|
|
}
|