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 rvagg committed Jun 2, 2016
1 parent c4329aa commit e5a7cec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/errors.md
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 e5a7cec

Please sign in to comment.