Optional chaining helps to avoid “undefined is not a function” exceptions

Posted on

Looks like you’re using new Reddit on an old browser. The site may not work properly if you don’t update your browserIf you do not update your browser, we suggest you visit old reddit .

Press J to jump to the feed. Press question mark to learn the rest of the keyboard shortcuts

Vote

Vote

0 comments

67% Upvoted

Log in or sign up to leave a commentLog InSign Up

Sort by

no comments yet

Be the first to share what you think!

More posts from the programming community

Computer Programming

3.2m

Members

1.8k

Online


Created Feb 28, 2006

Cookies help us deliver our Services. By using our Services or clicking I agree, you agree to our use of cookies. Learn More.