From: John-David Dalton Date: Mon, 26 Sep 2016 20:51:04 +0000 (-0700) Subject: Add `enumerable` and `writable` descriptors. X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=707c90d4d31e3a6723c96151e5706b8565bcb729;p=buffer.git Add `enumerable` and `writable` descriptors. --- diff --git a/index.js b/index.js index 1c28c58..75e7924 100644 --- a/index.js +++ b/index.js @@ -92,7 +92,9 @@ if (typeof Symbol !== 'undefined' && Symbol.species && Buffer[Symbol.species] === Buffer) { Object.defineProperty(Buffer, Symbol.species, { value: null, - configurable: true + configurable: true, + enumerable: false, + writable: false }) }