Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

2.4.7.3 RegExp.lastIndex

The initial value of RegExp.lastIndex 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:
© 2015 Microsoft