Implement Logical Assignment Operators proposal
Categories
(Core :: JavaScript Engine, enhancement, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox77 | --- | fixed |
People
(Reporter: anba, Assigned: anba)
References
(Blocks 1 open bug, )
Details
(Keywords: dev-doc-complete)
Attachments
(2 files)
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Restricted to Nightly because there's still an open issue about inferred
function names and because the proposal was only recently moved to stage 3.
Depends on D70821
Assignee | ||
Comment 2•5 years ago
|
||
Depends on D70823
Assignee | ||
Comment 3•5 years ago
|
||
Hi Christian,
just wanted to give you a heads-up that this bug will add three new compound assignment operators (&&=
, ||=
, and ??=
) to JS. The changes are currently restricted to Nightly builds, because the proposal only just recently reached stage 3.
Thanks,
André
Comment 4•5 years ago
|
||
Thanks for the heads-up! I will run the parser target on this for extensive testing once it has landed.
Updated•5 years ago
|
Comment 6•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/17566bf1e9cd
https://hg.mozilla.org/mozilla-central/rev/373440004686
Comment 7•5 years ago
|
||
This should be documented here (and also in https://github.com/mdn/browser-compat-data to update the table in the end):
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Assignment_Operators
Comment 8•4 years ago
|
||
Updated:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Operator_Precedence#Table
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Expressions_and_Operators
https://wiki.developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators
New pages:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Logical_nullish_assignment
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Logical_OR_assignment
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Logical_AND_assignment
Compat data:
https://github.com/mdn/browser-compat-data/pull/6363
Fx79 release notes announcement:
https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/79#JavaScript
Updated•4 years ago
|
Description
•