Affecting RegExp global, ignoreCase, multiline and sticky properties are now prototype accessor properties

Published: | Categories: JavaScript

Description

The global, ignoreCase, multiline and sticky properties on the RegExp instance have been moved to the prototype accessors. Those are now RegExp.prototype.global, RegExp.prototype.ignoreCase, RegExp.prototype.multiline, and RegExp.prototype.sticky. The change to the source property has been postponed to Firefox 41 due to Web compatibility issues.

References