r/node • • Nov 10 '20

Conditionally call a function with optional chaining.

Post image
345 Upvotes

126 comments sorted by

View all comments

-11

u/OmgImAlexis Nov 10 '20

Please don’t.

0

u/[deleted] Nov 10 '20

[deleted]

-6

u/OmgImAlexis Nov 10 '20

You don’t say....

My issue is with their post not optional chaining.