MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/node/comments/jrau9t/conditionally_call_a_function_with_optional/gbshzmg
r/node • u/wobsoriano • Nov 10 '20
126 comments sorted by
View all comments
Show parent comments
8
Of course you're unfamiliar with it, because when you look at it, it's not clear.
That's on you, because the meaning is explicit.
-5 u/OmgImAlexis Nov 10 '20 No. 1 u/recycled_ideas Nov 10 '20 Optional chaining does exactly the same thing as the if, but in significantly fewer characters.The only reason for it to be less clear is because you're unfamiliar with it. Because, again, the functionality is identical.
-5
No.
1 u/recycled_ideas Nov 10 '20 Optional chaining does exactly the same thing as the if, but in significantly fewer characters.The only reason for it to be less clear is because you're unfamiliar with it. Because, again, the functionality is identical.
1
Optional chaining does exactly the same thing as the if, but in significantly fewer characters.
The only reason for it to be less clear is because you're unfamiliar with it. Because, again, the functionality is identical.
8
u/recycled_ideas Nov 10 '20
Of course you're unfamiliar with it, because when you look at it, it's not clear.
That's on you, because the meaning is explicit.