function xor() {
      var index = -1,
          length = arguments.length;

      while (++index < length) {
        var array = arguments[index];
        if (isArray(array) || isArguments(array)) {
          var result = result
            ? baseUniq(baseDifference(result, array).concat(baseDifference(array, result)))
            : array;
        }
      }
      return result || [];
    }
Creates an array that is the symmetric difference of the provided arrays.
See http://en.wikipedia.org/wiki/Symmetric_difference.

@static
@memberOf _
@category Arrays
@param {...Array} [array] The arrays to inspect.
@returns {Array} Returns an array of values.
@example

_.xor([1, 2, 3], [5, 2, 1, 4]);
// => [3, 5, 4]

_.xor([1, 2, 5], [2, 3, 5], [3, 4, 5]);
// => [1, 4, 5]