Skip to content

Commit

Permalink
doc: fix typo in Error.captureStackTrace
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
mekhtiari authored and Myles Borins committed Jun 24, 2016
1 parent 4e38655 commit f23a9c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/errors.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ function MyError() {
}

// Without passing MyError to captureStackTrace, the MyError
// frame would should up in the .stack property. by passing
// frame would show up in the .stack property. By passing
// the constructor, we omit that frame and all frames above it.
new MyError().stack
```
Expand Down

0 comments on commit f23a9c3

Please sign in to comment.