FWIW I can tell you already removing `RegExp.$1`, `RegExp.global`, and friends will break a lot of things.
Testing a `RegExp` to instantly using its matches via `$1` and friends has been used in many scripts. Regards On Thu, Jul 20, 2017 at 1:11 AM, Isiah Meadows <[email protected]> wrote: > It's mostly a TC39 process, where they have to go through a very > pain-staking process to ensure it breaks virtually nothing in real world > code, one that takes several years. So far, the only language feature > successfully removed is `arguments.caller`. There are a few others > deprecated for future removal: > > - `Function.prototype.caller` > - `arguments.callee` > - `RegExp.$1`, `RegExp.global`, and friends > - Most everything banned from strict mode. > - And likely others. > > On Wed, Jul 19, 2017, 18:36 David White <[email protected]> > wrote: > >> Hi, >> >> I’m just curious as there are a lot of proposals for the addition of >> features to the ES specification, is there any scope for requests to remove >> language features? Going via the same means of writing a proposition that >> would attempt to support the removal of a feature, ultimately simplifying >> the specification and language? >> >> David >> _______________________________________________ >> es-discuss mailing list >> [email protected] >> https://mail.mozilla.org/listinfo/es-discuss >> > > _______________________________________________ > es-discuss mailing list > [email protected] > https://mail.mozilla.org/listinfo/es-discuss > >
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

