File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ for (const key of ObjectKeys(streamReturningOperators)) {
69
69
value : fn ,
70
70
enumerable : false ,
71
71
configurable : true ,
72
- writable : true ,
72
+ writable : false ,
73
73
} ) ;
74
74
}
75
75
for ( const key of ObjectKeys ( promiseReturningOperators ) ) {
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ import assert from 'assert';
68
68
) ;
69
69
assert . strictEqual ( descriptor . enumerable , false ) ;
70
70
assert . strictEqual ( descriptor . configurable , true ) ;
71
- // assert.strictEqual(descriptor.writable, false);
71
+ assert . strictEqual ( descriptor . writable , false ) ;
72
72
}
73
73
{
74
74
// drop/length
@@ -79,7 +79,7 @@ import assert from 'assert';
79
79
) ;
80
80
assert . strictEqual ( descriptor . enumerable , false ) ;
81
81
assert . strictEqual ( descriptor . configurable , true ) ;
82
- // assert.strictEqual(descriptor.writable, false);
82
+ assert . strictEqual ( descriptor . writable , false ) ;
83
83
// drop/limit-equals-total
84
84
const iterator = Readable . from ( [ 1 , 2 ] ) . drop ( 2 ) ;
85
85
const result = await iterator [ Symbol . asyncIterator ] ( ) . next ( ) ;
You can’t perform that action at this time.
0 commit comments