-
Notifications
You must be signed in to change notification settings - Fork 29.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
console: use more primordials #35734
Conversation
This comment has been minimized.
This comment has been minimized.
Why am I getting |
My guess is that the method is not available to primordials because it can be disabled in V8 with |
This comment has been minimized.
This comment has been minimized.
Interesting. Well I guess we'll have to refrain from using it in node core for the time being then… |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@nodejs/console Can you review this please? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but needs a rebase
446aa98
to
f2c9f81
Compare
PR-URL: nodejs#35734 Reviewed-By: Rich Trott <rtrott@gmail.com>
f2c9f81
to
1f6ca18
Compare
Landed in 1f6ca18 |
PR-URL: #35734 Reviewed-By: Rich Trott <rtrott@gmail.com>
PR-URL: #35734 Reviewed-By: Rich Trott <rtrott@gmail.com>
PR-URL: #35734 Reviewed-By: Rich Trott <rtrott@gmail.com>
PR-URL: #35734 Reviewed-By: Rich Trott <rtrott@gmail.com>
Backport requested because optional chaining is not available on Node.js 12.No need for optional chaining after all 😅Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes