jsonQ.js
function() {
            var arg = arguments,
                target = [],
                ln = arg.length;

            for (var i = 0; i < ln; i++) {
                var aryLn = arg[i].length;
                for (var j = 0; j < aryLn; j++) {
                    var itm = arg[i][j];
                    if (jsonQ.index(target, itm) == -1) {
                        target.push(itm);
                    }
                }

            }
            return target;
        }
function() {
            var arg = arguments,
                target = [],
                ln = arg.length;

            for (var i = 0; i < ln; i++) {
                var aryLn = arg[i].length;
                for (var j = 0; j < aryLn; j++) {
                    var itm = arg[i][j];
                    if (jsonQ.index(target, itm) == -1) {
                        target.push(itm);
                    }
                }

            }
            return target;
        }
function ( ) { var arg = arguments , target = [ ] , ln = arg . length ; for ( var i = 0 ; i < ln ; i ++ ) { var aryLn = arg [ i ] . length ; for ( var j = 0 ; j < aryLn ; j ++ ) { var itm = arg [ i ] [ j ] ; if ( jsonQ . index ( target , itm ) == - 1 ) { target . push ( itm ) ; } } } return target ; }
Return the union of arrays in new array
Return the union of arrays in new array