static/ext/src/lang/Array.js
function(array) {
            var results = [],
                i = 0,
                ln = array.length,
                item;

            for (; i < ln; i++) {
                item = array[i];

                if (!Ext.isEmpty(item)) {
                    results.push(item);
                }
            }

            return results;
        }
function(array) {
            var results = [],
                i = 0,
                ln = array.length,
                item;

            for (; i < ln; i++) {
                item = array[i];

                if (!Ext.isEmpty(item)) {
                    results.push(item);
                }
            }

            return results;
        }
function ( array ) { var results = [ ] , i = 0 , ln = array . length , item ; for ( ; i < ln ; i ++ ) { item = array [ i ] ; if ( ! Ext . isEmpty ( item ) ) { results . push ( item ) ; } } return results ; }
Filter through an array and remove empty item as defined in {@link Ext#isEmpty Ext.isEmpty}

See {@link Ext.Array#filter}

@param {Array} array
@return {Array} results
Filter through an array and remove empty item as defined in { @link Ext#isEmpty Ext . isEmpty }