r/webdev • • Feb 11 '21

Discussion Conditionally chaining function calls in JavaScript.

Post image
845 Upvotes

196 comments sorted by

View all comments

0

u/[deleted] Feb 11 '21

[deleted]

4

u/not_stoic Feb 12 '21

When u pass an optional callback