mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 12:19:20 +00:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user