Closed robatwilliams closed 2 years ago
replaceAll caught us out this week and is in 2021.
Is this issue to support catching 2021 features in the source ?
Yes.
It should be straightforward if one of you wants to do it - essentially it's do for 2021 the same as I did in older PRs/commits for the other ES versions e.g. https://github.com/robatwilliams/es-compat/commit/92d559665298ca5c218ca39140098ca7533a6c47.
New features e.g. logical assignment, promise.any
https://eslint-plugin-es.mysticatea.dev/
https://v8.dev/features/tags/es2021
https://exploringjs.com/impatient-js/ch_new-javascript-features.html#new-in-es2021