Skip to content

Commit 409418a

Browse files
mekhtiarijasnell
authored andcommitted
doc: fix typo in Error.captureStackTrace
PR-URL: #6811 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Roman Reiss <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]>
1 parent 79a5eb1 commit 409418a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

doc/api/errors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ function MyError() {
231231
}
232232

233233
// Without passing MyError to captureStackTrace, the MyError
234-
// frame would should up in the .stack property. by passing
234+
// frame would show up in the .stack property. By passing
235235
// the constructor, we omit that frame and all frames above it.
236236
new MyError().stack
237237
```

0 commit comments

Comments
 (0)