function shuffle(collection) {
      var index = -1,
          length = collection ? collection.length : 0,
          result = Array(typeof length == 'number' ? length : 0);

      baseEach(collection, function(value) {
        var rand = baseRandom(0, ++index);
        result[index] = result[rand];
        result[rand] = value;
      });

      return result;
    }
Creates an array of shuffled values, using a version of the Fisher-Yates
shuffle. See [Wikipedia](http://en.wikipedia.org/wiki/Fisher-Yates_shuffle) for more details.

@static
@memberOf _
@category Collections
@param {Array|Object|string} collection The collection to shuffle.
@returns {Array} Returns a new shuffled collection.
@example

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