Commit 17b8381
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 d9142b4 commit 17b8381
1 file changed
Lines changed: 4 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | | - | |
| 63 | + | |
| 64 | + | |
66 | 65 | | |
67 | 66 | | |
68 | 67 | | |
| |||
885 | 884 | | |
886 | 885 | | |
887 | 886 | | |
888 | | - | |
889 | | - | |
890 | | - | |
| 887 | + | |
| 888 | + | |
891 | 889 | | |
892 | 890 | | |
893 | 891 | | |
| |||
0 commit comments