docs: function _compact(array) {
  
        var index = -1;
        var length = array ? array.length : 0;
        var resIndex = -1;
        var result = [];
  
        while (++index < length) {
          var value = array[index];
          if (value) {
            result[++resIndex] = value;
          }
        }
        return result;
      }