index.js
function exclude(obj, keys) {
        var result, key;
        result = {};
        keys = keys || [];
        for (key in obj) {
            if (obj.hasOwnProperty(key)) {
                if (keys.indexOf(key) === -1) {
                    if (typeof obj[key] !== 'function') {
                        result[key] = obj[key];
                    }
                }
            }
        }
        return result;
    }
function exclude(obj, keys) {
        var result, key;
        result = {};
        keys = keys || [];
        for (key in obj) {
            if (obj.hasOwnProperty(key)) {
                if (keys.indexOf(key) === -1) {
                    if (typeof obj[key] !== 'function') {
                        result[key] = obj[key];
                    }
                }
            }
        }
        return result;
    }
function exclude ( obj , keys ) { var result , key ; result = { } ; keys = keys || [ ] ; for ( key in obj ) { if ( obj . hasOwnProperty ( key ) ) { if ( keys . indexOf ( key ) === - 1 ) { if ( typeof obj [ key ] !== 'function' ) { result [ key ] = obj [ key ] ; } } } } return result ; }
Return a copy of an object excluding the given keys and all the functions
Return a copy of an object excluding the given keys and all the functions