Permalink
Please
sign in to comment.
Browse files
bootstrap: make Buffer and process non-enumerable
This makes sure these two properties are non-enumerable. This aligns them with all other globals that are not enumerable by spec. Refs: #20565 PR-URL: #24874 Refs: #20565 Reviewed-By: Guy Bedford <guybedford@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
- Loading branch information...
Showing
with
47 additions
and 4 deletions.
- +12 −2 lib/internal/bootstrap/node.js
- +0 −2 test/common/index.js
- +35 −0 test/parallel/test-global.js
0 comments on commit
c992639