process: maintain constructor descriptor · nodejs/node@2462fd8 · GitHub
Skip to content

Commit 2462fd8

Browse files
benglMylesBorins
authored andcommitted
process: maintain constructor descriptor
Use the original property descriptor instead of just taking the value, which would, by default, be non-writable and non-configurable. PR-URL: #9306 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
1 parent 7aeeee3 commit 2462fd8

2 files changed

Lines changed: 17 additions & 3 deletions

File tree

lib/internal/bootstrap_node.js

Lines changed: 2 additions & 3 deletions
Lines changed: 15 additions & 0 deletions

0 commit comments

Comments
 (0)