code: function join(maybeArray, separator) {
    return maybeArray ? maybeArray.filter(function (x) {
      return x;
    }).join(separator || '') : '';
  }
docs: Given maybeArray, print an empty string if it is null or empty, otherwise
  print all items together separated by separator if provided