tc39 / proposal-optional-chaining

https://tc39.github.io/proposal-optional-chaining/
4.94k stars 75 forks source link

Implementation status tracking #115

Open rkirsling opened 4 years ago

rkirsling commented 4 years ago

JSC: https://bugs.webkit.org/show_bug.cgi?id=200199

V8: https://bugs.chromium.org/p/v8/issues/detail?id=9553

SM: https://bugzilla.mozilla.org/show_bug.cgi?id=1566143

MatthiasKunnen commented 4 years ago

TypeScript: https://github.com/microsoft/TypeScript/issues/16

devsnek commented 4 years ago

wow that is an old feature request for typescript :sweat_smile:

devsnek commented 4 years ago

Initial implementation of optional chaining has landed in V8 behind --harmony-optional-chaining (https://github.com/v8/v8/commit/ceb7bd59432a340ea3711ef5acb8c148471eee8c)

devsnek commented 4 years ago

Initial implementation of optional chaining has landed in engine262 behind --features=OptionalChaining (https://github.com/engine262/engine262/commit/e4c6798e1f3f89505f4c23eecc9e5d647af6b00e)

rkirsling commented 4 years ago

Landed in JSC (behind feature flag) in https://github.com/WebKit/webkit/commit/2af340f14ed86a083960be90edcf5269f10cc0bf (https://trac.webkit.org/r248829).

MatthiasKunnen commented 4 years ago

Landed in TypeScript 3.7

rkirsling commented 4 years ago

This is now on by default in JSC (will likely be available in STP 97).

robpalme commented 4 years ago

V8 unflagged on master on 2019-11-01 which makes it available in Chrome 80. You can try it using Chrome Canary.

avp commented 4 years ago

Landed in Hermes: https://github.com/facebook/hermes/commit/f6577a4d0c0252db750252047a9dc3cc01664beb

rhuanjl commented 4 years ago

I've opened an issue on chakracore https://github.com/microsoft/ChakraCore/issues/6349 I may try and do the implementation in the next 2-3 weeks if no one else does.

codehag commented 4 years ago

landed today unflagged in Firefox nightly. You can expect it with firefox 74