Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Editorial: Change
the _index_<sup>th</sup> element of _captures_
... to `_captures_[_index_ - 1]` in `GetSubstitution`. Also, in `RegExp.prototype [ @@replace ]` (the only place that passes a non-empty `_captures_` to `GetSubstitution`), add a NOTE to underline the fact that `_captures_[_n_ - 1]` is the `_n_`th capture.
- Loading branch information