From 707c90d4d31e3a6723c96151e5706b8565bcb729 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Mon, 26 Sep 2016 13:51:04 -0700 Subject: [PATCH] Add `enumerable` and `writable` descriptors. --- index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 }) } -- 2.34.1