diff --git a/doc/api/errors.markdown b/doc/api/errors.markdown index cd3a8cda42..df5f2d74ac 100644 --- a/doc/api/errors.markdown +++ b/doc/api/errors.markdown @@ -163,7 +163,7 @@ Property that determines the number of stack frames collected by a stack trace (whether generated by `new Error().stack` or `Error.captureStackTrace(obj)`). The initial value is `10`. It may be set to any valid JavaScript number, which -will effect any stack trace captured *after* the value has been changed. If set +will affect any stack trace captured *after* the value has been changed. If set to a non-number value, stack traces will not capture any frames and will report `undefined` on access.