Search posts, tags, users, and pages
Javascript Tips and Tricks
Jessica Carter
@jesssica · New Mexico, US
I code and dream. About Life and Health
Markdown supported · ⌘↵ to post
Nate Sire
Optional chaining is essentially the equivalent of null object pattern. It's one reason chaining is forbidden in OOP... Law of Demeter.
Joel D Souza
Nice and knowledgeable article.
But I guess the markdown code is broken.
Catalin Pit
Great article! By the way, the Twitter link doesn't seem to work! 😁
Hemant Joshi
Optional Chaining is a game changer.
Also a typo there you made with Declaring Array.
Lépine Kong
Good but beware mistypo in reduce example : {1, 2,3,4} instead of [1, 2,3,4]
Thanks, fixed it.
Victor Adedokun
Hi Jessica, why use var (instead of let/const) curly braces (instead of square brackets) while declaring an array? I'm curious
Great Catch, Thanks a lot just fixed it.
Guru Basavaraj BV
Thanks for sharing the helpful content, As always.
All the Very best!
Thanks a lot❤️
Taiwo Awe
Very nicely written article. Your points were clearly articulated. Kudos Jessica
Thanks a lot ❤️
Nate Sire
Optional chaining is essentially the equivalent of null object pattern. It's one reason chaining is forbidden in OOP... Law of Demeter.