Code coverage report for array/union.js

Statements: 100% (5 / 5)      Branches: 100% (0 / 0)      Functions: 100% (3 / 3)      Lines: 100% (4 / 4)     

All files » array/ » union.js
1 2 3 4 5 6 7 8 9 10 11 12 131         1 2     1      
define(['./unique'], function (unique) {
 
    /**
     * Concat multiple arrays and remove duplicates
     */
    function union(arrs) {
        return unique(Array.prototype.concat.apply([], arguments));
    }
 
    return union;
 
});