Skip to content

Commit f23a9c3

Browse files
mekhtiariMyles Borins
authored and
Myles Borins
committed
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 4e38655 commit f23a9c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/errors.markdown

+1-1
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)