JavaScript Unión de unión a la cadena

var address = "foo";
var city;
var state = "bar";
var zip;

text = [address, city, state, zip].filter(Boolean).join(", ");
console.log(text)
Bright Buzzard