Ors & Ands
I came across Stephen Grupetta’s article that highlights a nuance that I didn’t consider. or and and don't return booleans. They return one of their operands which can be any data type.
The Rules
or:
Returns the first operand when it's truthy
Retur...
blog.danwald.me1 min read