DEV Community

loading...

Discussion on: 😲🤯The most outstanding new feature in Javascript you need to know about: Optional Chaining

Collapse
fcfn profile image
Peter Timoshevsky

I used this ugly piece: (((foo || {}).bar || {}).baz || {}).xyz 🥺

Collapse
lampewebdev profile image
Michael "lampe" Lazarski Author

This is a piece of art! 🤣

Collapse
johnylab profile image
João Ferreira

wow! this is gold