Don't get puzzled by logical OR in JavaScript
javascriptodyssey.com