proposal-logical-assignment
A proposal to combine Logical Operators and Assignment Expressions (by tc39)
proposal-promise-any
ECMAScript proposal: Promise.any (by tc39)
proposal-logical-assignment | proposal-promise-any | |
---|---|---|
11 | 4 | |
260 | 192 | |
- | - | |
4.7 | 3.7 | |
almost 4 years ago | almost 4 years ago | |
HTML | HTML | |
MIT License | - |
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-logical-assignment
Posts with mentions or reviews of proposal-logical-assignment.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-08-08.
-
Why doesn't JavaScript have a nullish-coalescing-assignment (??=) operator?
Part of ES2021: https://github.com/tc39/proposal-logical-assignment
-
A pipe operator for JavaScript: introduction and use cases
- &&=
And don't forget the strife around the Python "walrus operator" := [2]
[0] https://node.green/
[1] https://github.com/tc39/proposal-logical-assignment/
[2] https://realpython.com/python-walrus-operator/
- New features in ES2021
-
ES2021 Features! 🔥
Logical Assignment Operators
-
New ES2021 JavaScript features (now available)
📙 Proposal
-
ES2021 Features
If you click thru to the linked TC39 proposal [1], you will find that the site author is also one of its "Champion"s - so you know makes sense they would be stoked about it.
Also, personally I find MDN content somehow unnecessarily dense, especially for beginners, and actually appreciate this kind of content. YMMV.
[1] https://github.com/tc39/proposal-logical-assignment
-
ES 12/2021 introduces new logical assignment operators
This this comment/discussion for more reasoning why deviating from this was deemed advantageous.
-
Upcoming JavaScript Features in 2021
Logical assignment (&&=, ||=, ??=)
-
What's new in ECMAScript 2021
Am I the only one who finds the comment confusing? According to the proposal, I think the better explanation would be: "assign b to a only when a is nullish" (considering that the value of b is assigned to a) .
-
ES 2021 Features
Yeah, that's it. You can check out more details in the (proposal document)[https://github.com/tc39/proposal-logical-assignment/].
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
What are some alternatives?
When comparing proposal-logical-assignment and proposal-promise-any you can also consider the following projects:
proposal-numeric-separator - A proposal to add numeric literal separators in JavaScript.
proposal-string-replaceall - ECMAScript proposal: String.prototype.replaceAll
quickjspp - Port of QuickJS Javascript Engine.
proposal-weakrefs - WeakRefs
babel-sublime - Syntax definitions for ES6 JavaScript with React JSX extensions.