assert: change utils to use index instead of for...of · nodejs/node@73aa0ae · GitHub
Skip to content

Commit 73aa0ae

Browse files
JinhyeokFangaduh95
authored andcommitted
assert: change utils to use index instead of for...of
PR-URL: #59278 Refs: https://github.com/nodejs/node/blob/main/doc/contributing/primordials.md#unsafe-array-iteration Reviewed-By: Jordan Harband <ljharb@gmail.com> Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com> Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
1 parent 76dab34 commit 73aa0ae

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/internal/assert/utils.js

Lines changed: 2 additions & 1 deletion

0 commit comments

Comments
 (0)