Skip to content

Commit 707c90d

Browse files
jdaltonfeross
authored andcommitted
Add enumerable and writable descriptors.
1 parent 62fc25c commit 707c90d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,9 @@ if (typeof Symbol !== 'undefined' && Symbol.species &&
9292
Buffer[Symbol.species] === Buffer) {
9393
Object.defineProperty(Buffer, Symbol.species, {
9494
value: null,
95-
configurable: true
95+
configurable: true,
96+
enumerable: false,
97+
writable: false
9698
})
9799
}
98100

0 commit comments

Comments
 (0)