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 <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
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

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)