I know that in JavaScript you can do:
var oneOrTheOther = someOtherVar || \"these are not the droids you are looking for...\";
where the va
Quoting Douglas Crockford1:
The && operator produces the value of its first operand if the first operand is falsy. Otherwise it produces the value of the second operand.
&&
1 Douglas Crockford: JavaScript: The Good Parts - Page 16