Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining RegExp.lastIndex 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.

© 2015 Microsoft