Export (0) Print
Expand All

2.4.7.9 RegExp.$_

The initial value of each of the properties RegExp.$1, RegExp.$2, RegExp.$3, RegExp.$4, RegExp.$5, RegExp.$6, RegExp.$7, RegExp.$8, and RegExp.$9 is the empty string. These properties shall have the attributes { DontEnum, DontDelete, ReadOnly}. The value of this property may be modified by calls to RegExp.prototype.exec. The properties RegExp.input and RegExp.$_ always have the same value. When one of these properties is set to some value, the other is automatically also set to that same value. Unlike most other RegExp constructor properties, this property does not have the ReadOnly attribute.

Show:
© 2015 Microsoft