Skip to content

Commit 97543ab

Browse files
committed
lib: remove outdated todo comment
1 parent eec20ed commit 97543ab

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

lib/internal/per_context/primordials.js

-6
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,6 @@ const {
1212
ownKeys: ReflectOwnKeys,
1313
} = Reflect;
1414

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-
2115
// `uncurryThis` is equivalent to `func => Function.prototype.call.bind(func)`.
2216
// It is using `bind.bind(call)` to avoid using `Function.prototype.bind`
2317
// and `Function.prototype.call` after it may have been mutated by users.

0 commit comments

Comments
 (0)