#optional-chaining

[ follow ]
fromInfoWorld
2 days ago

8 new JavaScript features you might have missed

The JavaScript juggernaut never stops. There are a number of features introduced by the "living spec" every year. Then it takes some time for the browsers, Node.js, etc. to roll them in, and before you know it, there's a big pile of new JavaScript features you haven't tried. It's not too late. Here I've rounded up the ES11 (ECMAScript 11, aka ECMAScript 2020) features that you may have missed. They include a number of ergonomic and other modern improvements. Let's take a look.
JavaScript
fromallthingssmitty.com
5 months ago
Node JS

Write more reliable JavaScript with optional chaining - Matt Smith

Optional chaining (?.) simplifies accessing nested properties in JavaScript objects, reducing error risk and improving code readability.
[ Load more ]