DEV Community

Discussion on: The ECMAScript Ecosystem

Collapse
 
victorioberra profile image
Victorio Berra

Thanks for the article!

It's worth it to mention optional chaining is experimental and only usable in that state in just a few browsers. Same with the nullish coalesce operator.

Another side-note: C# has had both of these features for a while, same with TypeScript. Babel has had optional chaining for a bit which is obviously in stage 4 now..

Collapse
 
laurieontech profile image
Laurie

Well, that's the goal of the write-up. It's easy to assume that stage 4 adoption means you can use the syntax, and that's rarely true. But they're both officially part of ECMAScript and ESNext. So I would not consider them experimental but rather lacking native browser support.