2.4.7.1 RegExp.index

The initial value of the RegExp.index property is the number −1. This property shall have the attributes { DontEnum, DontDelete, ReadOnly }. Even though this is a ReadOnly property, its value may be modified by calls to RegExp.prototype.exec.

Show: