Implement the Nullish Coalescing operator (??) proposal
Categories
(Core :: JavaScript Engine, enhancement, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox72 | --- | fixed |
People
(Reporter: afmenez, Assigned: yulia)
References
(Blocks 1 open bug, )
Details
(Keywords: parity-chrome, parity-safari)
Attachments
(8 files, 1 obsolete file)
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review |
The proposal is currently in Stage 2.
Comment 3•6 years ago
|
||
When we document this, we need to be sure to update the article on the optional chaining operator to mention using it to establish a non-undefined return value for missing entries.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining
Safari has been implemented
https://webkit.org/blog/9497/release-notes-for-safari-technology-preview-89/
| Reporter | ||
Updated•6 years ago
|
Comment 5•6 years ago
|
||
Can I take this?
Comment 6•6 years ago
|
||
(In reply to Tetsuharu OHZEKI [:tetsuharu] [UTC+9] from comment #5)
Can I take this?
I think Yulia is working on this.
| Assignee | ||
Updated•6 years ago
|
| Reporter | ||
Updated•6 years ago
|
| Assignee | ||
Comment 7•6 years ago
|
||
Fake it till you make it
| Assignee | ||
Comment 8•6 years ago
|
||
Depends on D50056
| Assignee | ||
Comment 9•6 years ago
|
||
coalescing operator
Depends on D50058
| Assignee | ||
Comment 10•5 years ago
|
||
Depends on D50204
| Assignee | ||
Updated•5 years ago
|
Comment 11•5 years ago
|
||
Comment 12•5 years ago
|
||
We should probably send an intent-to-ship to dev-platform..
Comment 13•5 years ago
|
||
| bugherder | ||
| Assignee | ||
Comment 14•5 years ago
|
||
| Assignee | ||
Comment 15•5 years ago
|
||
Depends on D51638
| Assignee | ||
Comment 16•5 years ago
|
||
Depends on D51639
Updated•5 years ago
|
| Assignee | ||
Comment 17•5 years ago
|
||
Depends on D51640
| Assignee | ||
Comment 18•5 years ago
|
||
Intent to ship has been sent! (a couple of days ago, forgot to update here)
Updated•5 years ago
|
| Assignee | ||
Comment 19•5 years ago
|
||
Comment 20•5 years ago
|
||
| Assignee | ||
Updated•5 years ago
|
Comment 21•5 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/9b150dd56999
https://hg.mozilla.org/mozilla-central/rev/2a8c35575189
https://hg.mozilla.org/mozilla-central/rev/ddc6fa7e24f2
Comment 22•5 years ago
|
||
Comment 23•5 years ago
|
||
| bugherder | ||
Comment 24•5 years ago
|
||
Documentation written here: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Nullish_coalescing_operator
(other pages updated such as: https://wiki.developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining & https://wiki.developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Operator_Precedence )
Description
•