How does the Javascript logical OR (||) operator work?
The logical OR (or ||) operator in Javascript is an operator which returns the left hand side if the left hand side is truthy, but otherwise defaults and returns the right hand side. This means it can be used to test both logical statements, and also...
fjolt.hashnode.dev4 min read