DEV Community

loading...

Discussion on: Nulling JavaScript

Collapse
maestromac profile image
Mac Siri

Oh sweet this is just like Safe Navigation. I definitely see this as a blessing but I hope folks won't be chaining it more than 3 times. Just thinking about all the possible silent errors gives me the heebie-jeebies 😨

Collapse
kayis profile image
K Author

Maybe it's not a huge problem if people don't just let it short circuit to null and use sane defaults all the time.