This repository has been archived by the owner on Jan 25, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 75
Stage 2? #76
Comments
It is still at stage 1; it requires TC39 consensus to be stage 2. The precise syntax must be resolved prior to stage 2, particularly because this proposal interacts with nullish coalescing and possibly other future proposals. The champion has indicated that they will seek stage 2 in the March meeting. |
@ljharb Thank you for clearing that up |
edas
added a commit
to cozy/cozy-libs
that referenced
this issue
Feb 15, 2019
[Optional chaining](https://github.com/tc39/proposal-optional-chaining) allows to chain potentially null components. Instead of doing ``` if (window && window.location && window.location.protocol) { ssl = window.location.protocol } ``` we could do ``` ssl = window?.location?.protocol ``` The spec is stage 1 only but [they seem to have reach consensus](tc39/proposal-optional-chaining#75 (comment)) and [the formal stage 2 decision should be in March](tc39/proposal-optional-chaining#76 (comment)) There should not be any compatibility break
edas
added a commit
to cozy/cozy-libs
that referenced
this issue
Feb 18, 2019
[Optional chaining](https://github.com/tc39/proposal-optional-chaining) allows to chain potentially null components. Instead of doing ``` if (window && window.location && window.location.protocol) { ssl = window.location.protocol } ``` we could do ``` ssl = window?.location?.protocol ``` The spec is stage 1 only but [they seem to have reach consensus](tc39/proposal-optional-chaining#75 (comment)) and [the formal stage 2 decision should be in March](tc39/proposal-optional-chaining#76 (comment)) There should not be any compatibility break
sendilkumarn
pushed a commit
to sendilkumarn/proposal-optional-chaining
that referenced
this issue
Jun 22, 2019
As suggested by Kat in tc39#76.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Shouldn't this proposal be at stage 2?
The text was updated successfully, but these errors were encountered: