Second pass converting for index based looping to for-of loops

More manual conversion of index based for loops to for-of loops
This commit is contained in:
Matt Bierner
2019-01-03 20:19:49 -08:00
parent 137dbe92bb
commit c109d319fe
59 changed files with 174 additions and 200 deletions

View File

@@ -5,8 +5,8 @@
export function pushAll<T>(to: T[], from: T[]) {
if (from) {
for (let i = 0; i < from.length; i++) {
to.push(from[i]);
for (const e of from) {
to.push(e);
}
}
}