Episode 132 - Optional Chaining and nullish coalescing coming to Javascript, how useful are they and when can you use them?

Published: Feb. 23, 2020, 2:05 p.m.

Some cool new features are coming to the Javascript language namely Optional chaining and nullish coalescing how useful are they? lets discuss

So Optional chaining and nullish coalescing are coming to the Javascript language. I think it is already in the Javascript Engines (V8, SpiderMonkey, JavascriptCore and Chakra) which will be picked up by other clients such as browsers, node js , dino other stuff .. Cool stuff lets get into it.

Resources

V8 release v8.0 · V8

Optional Chaining

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining

Nullish coalescing

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Nullish_coalescing_operator

--- Send in a voice message: https://anchor.fm/hnasr/message