#optional-chaining
Read more stories on Hashnode
Articles with this tag
TLDR; Optional chaining (?.) prevents runtime errors when accessing properties or methods of potentially null or undefined objects by short-circuiting...