proposal-promise-any
ECMAScript proposal: Promise.any (by tc39)
proposal-string-replaceall
ECMAScript proposal: String.prototype.replaceAll (by tc39)
proposal-promise-any | proposal-string-replaceall | |
---|---|---|
4 | 5 | |
192 | 243 | |
- | - | |
3.7 | 2.1 | |
almost 4 years ago | almost 4 years ago | |
HTML | HTML | |
- | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
proposal-promise-any
Posts with mentions or reviews of proposal-promise-any.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-08-08.
- New features in ES2021
-
ES2021 Features! 🔥
Promise.any and AggregateError
-
New ES2021 JavaScript features (now available)
📙 Proposal
-
Upcoming JavaScript Features in 2021
More info: TC39 proposal, V8, MDN
proposal-string-replaceall
Posts with mentions or reviews of proposal-string-replaceall.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-08-08.
- New features in ES2021
-
ES2021 Features! 🔥
String.prototype.replaceAll() Method
-
New ES2021 JavaScript features (now available)
Just like with String.prototype.replace, searchValue can be a regular expression, but it has to include a global flag, otherwise it will throw an exception. As mentioned in the proposal:
-
Upcoming JavaScript Features in 2021
More info: TC39 proposal, MDN, V8
-
Upcoming Interesting JavaScript ES2021 (ES12) Features to Look for
The replaceAll() method also accepts regular expressions. So, if regex is your thing you can use it as well. You can also use a function as the replacement. If you do, this function will be executed for each match in the string. You can read this proposal in the official repository.
What are some alternatives?
When comparing proposal-promise-any and proposal-string-replaceall you can also consider the following projects:
proposal-numeric-separator - A proposal to add numeric literal separators in JavaScript.
proposals - Tracking ECMAScript Proposals
proposal-logical-assignment - A proposal to combine Logical Operators and Assignment Expressions
proposal-weakrefs - WeakRefs
babel-sublime - Syntax definitions for ES6 JavaScript with React JSX extensions.