dist/regular/strict/dejavu.js
function intersection(arr) {
        var arrs = slice(arguments, 1),
            result = filter(unique(arr), function(needle){
                return every(arrs, function(haystack){
                    return contains(haystack, needle);
                });
            });
        return result;
    }
function intersection(arr) {
        var arrs = slice(arguments, 1),
            result = filter(unique(arr), function(needle){
                return every(arrs, function(haystack){
                    return contains(haystack, needle);
                });
            });
        return result;
    }
function intersection ( arr ) { var arrs = slice ( arguments , 1 ) , result = filter ( unique ( arr ) , function ( needle ) { return every ( arrs , function ( haystack ) { return contains ( haystack , needle ) ; } ) ; } ) ; return result ; }
Return a new Array with elements common to all Arrays.
- based on underscore.js implementation
Return a new Array with elements common to all Arrays . - based on underscore . js implementation