Sign up
Sign in
In JS, this functionality is fully replaced by the OR operator! A || B doesn't actually return true or false, but rather one of the truthy values surrounding it!
A || B
true
false
Vojta Struhár
Tom Ritchford
Follow
--
1
Share
Python too.
uk->at->ca->us->nl
Help
Status
About
Careers
Press
Blog
Privacy
Terms
Text to speech
Teams