8000 lib: change var to let in lib/_stream_duplex.js · nodejs/node@bcc00e1 · GitHub
[go: up one dir, main page]

Skip to content

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/_stream_duplex.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Object.setPrototypeOf(Duplex, Readable);
3939
{
4040
// Allow the keys array to be GC'ed.
4141
const keys = Object.keys(Writable.prototype);
42-
for (var v = 0; v < keys.length; v++) {
42+
for (let v = 0; v < keys.length; v++) {
4343
const method = keys[v];
4444
if (!Duplex.prototype[method])
4545
Duplex.prototype[method] = Writable.prototype[method];

0 commit comments

Comments
 (0)
0