-
Notifications
You must be signed in to change notification settings - Fork 30.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
lib: add primordials.SafeStringIterator #36526
Conversation
I found some code, seems they should be submitted together with this PR. node/lib/internal/util/inspect.js Line 2008 in 6837a6d
|
e69e07a
to
d1ae5c5
Compare
@Lxxyx Good catch! I added your suggestions. |
This comment has been minimized.
This comment has been minimized.
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
Benchmark CI (util/inspect): https://ci.nodejs.org/view/Node.js%20benchmark/job/benchmark-node-micro-benchmarks/797/ (queued) |
Landed in 40fc395...bd6f230 |
PR-URL: #36526 Reviewed-By: Rich Trott <rtrott@gmail.com>
PR-URL: #36526 Reviewed-By: Rich Trott <rtrott@gmail.com>
PR-URL: #36526 Reviewed-By: Rich Trott <rtrott@gmail.com>
PR-URL: #36526 Reviewed-By: Rich Trott <rtrott@gmail.com>
PR-URL: #36526 Reviewed-By: Rich Trott <rtrott@gmail.com>
Allows node internal function to iterate over strings without relying on
String.prototype[Symbol.iterator]
and%StringIteratorPrototype%.next
, which may be mutated from user-land.Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes