docs(napi/parser): correct code comment (#22278)

Just fix a small inaccuracy in a comment.
This commit is contained in:
overlookmotel committed 2026-05-09 19:35:22 +00:00
1 parent e9c88dc508
commit a4a6892f2c
1 file changed
+1 -1
+1 -1
View File
@@ -26,7 +26,7 @@ export function wrap(result) {
//
// Returned JSON contains an array `fixes` with paths to these nodes
// e.g. for `123n; foo(/xyz/)`, `fixes` will be
// `[["body", 0, "expression"], ["body", 1, "expression", "arguments", 2]]`.
// `[["body", 0, "expression"], ["body", 1, "expression", "arguments", 0]]`.
//
// Walk down the AST to these nodes and alter them.
// Compiling the list of fixes on Rust side avoids having to do a full AST traversal on JS side