We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27816ea commit dc3c299Copy full SHA for dc3c299
lib/internal/per_context/primordials.js
@@ -12,12 +12,6 @@ const {
12
ownKeys: ReflectOwnKeys,
13
} = Reflect;
14
15
-// TODO(joyeecheung): we can restrict access to these globals in builtin
16
-// modules through the JS linter, for example: ban access such as `Object`
17
-// (which falls back to a lookup in the global proxy) in favor of
18
-// `primordials.Object` where `primordials` is a lexical variable passed
19
-// by the native module compiler.
20
-
21
// `uncurryThis` is equivalent to `func => Function.prototype.call.bind(func)`.
22
// It is using `bind.bind(call)` to avoid using `Function.prototype.bind`
23
// and `Function.prototype.call` after it may have been mutated by users.
0 commit comments