Open rkirsling opened 4 years ago
wow that is an old feature request for typescript :sweat_smile:
Initial implementation of optional chaining has landed in V8 behind --harmony-optional-chaining
(https://github.com/v8/v8/commit/ceb7bd59432a340ea3711ef5acb8c148471eee8c)
Initial implementation of optional chaining has landed in engine262 behind --features=OptionalChaining
(https://github.com/engine262/engine262/commit/e4c6798e1f3f89505f4c23eecc9e5d647af6b00e)
Landed in JSC (behind feature flag) in https://github.com/WebKit/webkit/commit/2af340f14ed86a083960be90edcf5269f10cc0bf (https://trac.webkit.org/r248829).
This is now on by default in JSC (will likely be available in STP 97).
V8 unflagged on master on 2019-11-01 which makes it available in Chrome 80. You can try it using Chrome Canary.
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.
landed today unflagged in Firefox nightly. You can expect it with firefox 74
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