var a = x || y atribuição variável em javascript
var a = false || 4 || 2;
/*a= 4*/
/*if the first value is anything but false, assign it to a. Otherwise, do the same for the second value until you find a non false value. If none, then a is false*/
Javasper