Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
2.8.6.2 RegExp.lastIndex

2.8.6.2 RegExp.lastIndex

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

Show:
© 2015 Microsoft