Commit 3906206
net: remove unnecessary variables
V8 is smart enough to optimize the length property checking when
iterating over an array with a for loop.
PR-URL: #8112
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent b063dc9 commit 3906206
1 file changed
Lines changed: 4 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
64 | | - | |
| 62 | + | |
| 63 | + | |
65 | 64 | | |
66 | 65 | | |
67 | 66 | | |
| |||
875 | 874 | | |
876 | 875 | | |
877 | 876 | | |
878 | | - | |
879 | | - | |
880 | | - | |
| 877 | + | |
| 878 | + | |
881 | 879 | | |
882 | 880 | | |
883 | 881 | | |
| |||
0 commit comments