proposal-upsert
ECMAScript Proposal, specs, and reference implementation for Map.prototype.upsert (by tc39)
proposal-set-methods
Proposal for new Set methods in JS (by tc39)
proposal-upsert | proposal-set-methods | |
---|---|---|
5 | 16 | |
165 | 635 | |
0.0% | 11.8% | |
10.0 | 4.5 | |
over 1 year ago | 9 days ago | |
HTML | HTML | |
MIT License | GNU General Public License v3.0 or later |
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-upsert
Posts with mentions or reviews of proposal-upsert.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-01.
- Map.prototype.emplace
-
When using 'new Map()' object, what is the simplest way to implement checking if a value exists then incrementing it by 1? (If not found, initialize to 0)
There's a stage 2 proposal for map.emplace() that's exactly what you're looking for:
-
Set methods proposal reaches stage 3
I'm also looking forward to map.emplace() and arr.group() and iterator helpers.
-
Is there a concise way to set a key's initial value in a Map object?
Sounds like you want emplace?
-
[AskJS] What are still present issues in contemporary (2022) JavaScript?
There's a proposal to give [emplace to maps](https://github.com/tc39/proposal-upsert).
proposal-set-methods
Posts with mentions or reviews of proposal-set-methods.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-04-12.
-
Use JavaScript's New Set Composition Methods Without Polyfills
There is a proposal to add methods like union and intersection to JavaScript's built-in Set class.
-
Updates from the 101th TC39 meeting
Set Methods: New Set methods
-
Union, intersection, difference, and more are coming to JavaScript Sets
This article seems to be largely fluff. Here's a link to the proposal with the list of methods being added: https://github.com/tc39/proposal-set-methods?tab=readme-ov-f...
-
Mastering data with 7 new JavaScript Set methods
So, 7 new Set methods are under construction now and I will show you the way they interact with data:
-
how compare 2 Set ?
They're stage 3, but we're getting new methods just for this sort of stuff. You'd be able to do:
-
It’s 2023. Start using JavaScript Map and Set
Coming soon: https://github.com/tc39/proposal-set-methods
- Why I Like Using Maps (and WeakMaps) for Handling DOM Nodes
-
[AskJS] What Lodash/<insert utility library> functions do you love?
I'm excited for that one :). They are also coming out with intersection, but only for sets.
-
Feedback on my JS library website?
it's highly incompatible with Set helper methods (a stage 3 proposal)
- [AskJS] Is JavaScript missing some built-in methods?