Toggle navigation
VR AR News
beta
Blog
Suggest a feed
Feedback
About
Monday, 23 November, 2020
UTC
javascript: Provide Default Values with Optional Chaining and Null Coalescing in JavaScript
Summary
JavaScript's optional chaining can be used to return prevent errors when accessing properties that do not exist. In order to return a useful value, we can combine optional chaining with null coalescing.
... more @ egghead.io
egghead.io