We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9695d9 commit 1ed138cCopy full SHA for 1ed138c
lib/.eslintrc.yaml
@@ -29,6 +29,8 @@ rules:
29
message: "Use `const { Reflect } = primordials;` instead of the global."
30
- name: Symbol
31
message: "Use `const { Symbol } = primordials;` instead of the global."
32
+ - name: WeakSet
33
+ message: "Use `const { WeakSet } = primordials;` instead of the global."
34
no-restricted-syntax:
35
# Config copied from .eslintrc.js
36
- error
lib/repl.js
@@ -56,6 +56,7 @@ const {
56
Promise,
57
PromiseRace,
58
Symbol,
59
+ WeakSet,
60
} = primordials;
61
62
const {
0 commit comments