proposal-set-methods
proposal-upsert
proposal-set-methods | proposal-upsert | |
---|---|---|
16 | 5 | |
646 | 169 | |
2.2% | 2.4% | |
4.5 | 10.0 | |
about 1 month ago | over 1 year ago | |
HTML | HTML | |
GNU General Public License v3.0 or later | MIT License |
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-set-methods
-
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?
proposal-upsert
- 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).
What are some alternatives?
proposal-change-array-by-copy - Provides additional methods on Array.prototype and TypedArray.prototype to enable changes on the array by returning a new copy of it with the change.
webpack-common-shake - CommonJS Tree Shaker plugin for WebPack
es1995 - ES1995 – The Missing JS Polyfill
proposal-do-expressions - Proposal for `do` expressions
proposals - ✍️ Tracking the status of Babel's implementation of TC39 proposals (may be out of date)
proposal-record-tuple - ECMAScript proposal for the Record and Tuple value types. | Stage 2: it will change!
random-number-js - Generate random numbers with more variety.
wtfjs - 🤪 A list of funny and tricky JavaScript examples
proposal-partial-application - Proposal to add partial application to ECMAScript
proposal-array-grouping - A proposal to make grouping of array items easier
promises-spec - An open standard for sound, interoperable JavaScript promises—by implementers, for implementers.
proposal-iterator-helpers - Methods for working with iterators in ECMAScript