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.