Edit in JSFiddle

//Return first false value, then stop evaluating other expressions
var foo = true && 'foo' && '' && 4 && 'foo' && true;

console.log(foo); //logs '' an empty string, because its the first false value