We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51e7ecc commit a17b0d9Copy full SHA for a17b0d9
1 file changed
lib/internal/wrap_js_stream.js
@@ -145,8 +145,8 @@ class JSStreamWrap extends Socket {
145
let pending = bufs.length;
146
147
this.stream.cork();
148
- for (const buf of bufs)
149
- this.stream.write(buf, done);
+ for (var i = 0; i < bufs.length; ++i)
+ this.stream.write(bufs[i], done);
150
this.stream.uncork();
151
152
function done(err) {
0 commit comments