Skip to content

Commit dc3c299

Browse files
aduh95targos
authored andcommitted
lib: remove outdated todo comment
PR-URL: #37396 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Zijian Liu <lxxyxzj@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
1 parent 27816ea commit dc3c299

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)