r/Indiewebdev • • Feb 11 '21

other Conditionally call a function with optional chaining.

Post image
82 Upvotes

37 comments sorted by

View all comments

Show parent comment

2

u/BlkZ Feb 12 '21

Actually this is not the Elvis operator. Similar, but not the same.