Optional Chaining is a game changer.
Also a typo there you made with Declaring Array.
Good but beware mistypo in reduce example : {1, 2,3,4} instead of [1, 2,3,4]
Hi Jessica, why use var (instead of let/const) curly braces (instead of square brackets) while declaring an array? I'm curious
Very nicely written article. Your points were clearly articulated. Kudos Jessica
Nate Sire
Coding in C++ Since Eight, Be Great
Optional chaining is essentially the equivalent of null object pattern. It's one reason chaining is forbidden in OOP... Law of Demeter.