Non-standard flags argument of String methods has been deprecated

Published: | Categories: JavaScript

Description

The non-standard flags argument of the String.prototype.search, match and replace methods is now considered deprecated and will be removed in the near future. It raises a warning in the Web Console from now on.

Update: The argument has been disabled in Firefox Nightly and Developer Edition since Firefox 47.

References