diff options
Diffstat (limited to 'lib/internal/process/per_thread.js')
-rw-r--r-- | lib/internal/process/per_thread.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/internal/process/per_thread.js b/lib/internal/process/per_thread.js index 2ead72781d..650033f352 100644 --- a/lib/internal/process/per_thread.js +++ b/lib/internal/process/per_thread.js @@ -12,6 +12,7 @@ const { ObjectFreeze, ObjectGetOwnPropertyDescriptors, RegExpPrototypeTest, + SetPrototype, SetPrototypeHas, StringPrototypeReplace, } = primordials; @@ -284,7 +285,7 @@ function buildAllowedFlags() { // each object. const nodeFlags = ObjectDefineProperties( new Set(allowedNodeEnvironmentFlags.map(trimLeadingDashes)), - ObjectGetOwnPropertyDescriptors(Set.prototype) + ObjectGetOwnPropertyDescriptors(SetPrototype) ); class NodeEnvironmentFlagsSet extends Set { |