code: function compactArray(source) {
      return source.reduce(function(result, value){
          if (value != void 0)
              result.push(value);
          return result;
      }, []);
  }
docs: Remove `null` and `undefined` from array;
  
  @param {Array} source
  @return {Array}
  @api private