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 d6515f2 commit 5e72978Copy full SHA for 5e72978
lib/internal/streams/compose.js
@@ -1,5 +1,9 @@
1
'use strict';
2
3
+const {
4
+ ArrayPrototypeSlice,
5
+} = primordials;
6
+
7
const { pipeline } = require('internal/streams/pipeline');
8
const Duplex = require('internal/streams/duplex');
9
const { destroyer } = require('internal/streams/destroy');
@@ -20,9 +24,6 @@ const {
20
24
},
21
25
} = require('internal/errors');
22
26
const eos = require('internal/streams/end-of-stream');
23
-const {
- ArrayPrototypeSlice
-} = primordials;
27
28
module.exports = function compose(...streams) {
29
if (streams.length === 0) {
0 commit comments