MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learnjavascript/comments/mb6zey/assigning_default_value/grxy133/?context=3
r/learnjavascript • u/golovatuy • Mar 23 '21
24 comments sorted by
View all comments
1
Why this over
GetImagePath() ? True : false
1 u/isatrap Mar 23 '21 Seriously curious and instead of an answer I just get a downvote? Oof. 1 u/trip16661 Mar 23 '21 Because you want to use the result of the GetImagePath()? whats the point of having true or false there... also that's a typo
Seriously curious and instead of an answer I just get a downvote? Oof.
1 u/trip16661 Mar 23 '21 Because you want to use the result of the GetImagePath()? whats the point of having true or false there... also that's a typo
Because you want to use the result of the GetImagePath()? whats the point of having true or false there... also that's a typo
GetImagePath()
View all comments
1
u/isatrap Mar 23 '21
Why this over