DEV Community

Trishul for Itsopensource

Posted on • Edited on

2 1

Optional Chaining

TypeError: Cannot read property '' of undefined has bugged every javascript developer enough. While expecting response from APIs, we need to add a number of && to make sure our code don’t break. This maybe not a problem while dealing with 2 level nested object, but while dealing with large data objects this can be nightmare. The game has been changed with Optional Chaining proposal Stage-4.

Read more at https://itsopensource.com/optional-chaining

Top comments (0)

Heroku

Simplify your DevOps and maximize your time.

Since 2007, Heroku has been the go-to platform for developers as it monitors uptime, performance, and infrastructure concerns, allowing you to focus on writing code.

Learn More