We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae58c97 commit 1527796Copy full SHA for 1527796
lib/internal/process/per_thread.js
@@ -12,6 +12,7 @@ const {
12
ObjectFreeze,
13
ObjectGetOwnPropertyDescriptors,
14
RegExpPrototypeTest,
15
+ SetPrototype,
16
SetPrototypeHas,
17
StringPrototypeReplace,
18
} = primordials;
@@ -284,7 +285,7 @@ function buildAllowedFlags() {
284
285
// each object.
286
const nodeFlags = ObjectDefineProperties(
287
new Set(allowedNodeEnvironmentFlags.map(trimLeadingDashes)),
- ObjectGetOwnPropertyDescriptors(Set.prototype)
288
+ ObjectGetOwnPropertyDescriptors(SetPrototype)
289
);
290
291
class NodeEnvironmentFlagsSet extends Set {
0 commit comments