repl: refactor to avoid unsafe array iteration#37188
Conversation
|
LGTM, but are the test changes unrelated? If not, does it make sense to add a separate test case in the file where we add |
(Is the test case adding coverage to the code modified here because it wasn't previously covered?) |
They are related in the sense I used them to spot the use of unsafe iteration.
Yeah, or maybe run the same test twice: first with |
Yeah, that works. |
Trott
left a comment
There was a problem hiding this comment.
LGTM, although I'd prefer the existing test case configuration be added to rather than modified. But that's not a blocking comment.
PR-URL: nodejs#37188 Reviewed-By: Zijian Liu <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
f23e74b to
703e566
Compare
|
Landed in 703e566 |
No description provided.