(...args)
| 66 | const key = streamKeys[i]; |
| 67 | const op = streamReturningOperators[key]; |
| 68 | function fn(...args) { |
| 69 | if (new.target) { |
| 70 | throw new ERR_ILLEGAL_CONSTRUCTOR(); |
| 71 | } |
| 72 | return Stream.Readable.from(ReflectApply(op, this, args)); |
| 73 | } |
| 74 | ObjectDefineProperty(fn, 'name', { __proto__: null, value: op.name }); |
| 75 | ObjectDefineProperty(fn, 'length', { __proto__: null, value: op.length }); |
| 76 | ObjectDefineProperty(Stream.Readable.prototype, key, { |
no test coverage detected