summaryrefslogtreecommitdiff
path: root/bin/wiki/ImportarDesdeURL/node_modules/lodash/_arrayShuffle.js
diff options
context:
space:
mode:
Diffstat (limited to 'bin/wiki/ImportarDesdeURL/node_modules/lodash/_arrayShuffle.js')
-rw-r--r--bin/wiki/ImportarDesdeURL/node_modules/lodash/_arrayShuffle.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/bin/wiki/ImportarDesdeURL/node_modules/lodash/_arrayShuffle.js b/bin/wiki/ImportarDesdeURL/node_modules/lodash/_arrayShuffle.js
new file mode 100644
index 00000000..46313a39
--- /dev/null
+++ b/bin/wiki/ImportarDesdeURL/node_modules/lodash/_arrayShuffle.js
@@ -0,0 +1,15 @@
+var copyArray = require('./_copyArray'),
+ shuffleSelf = require('./_shuffleSelf');
+
+/**
+ * A specialized version of `_.shuffle` for arrays.
+ *
+ * @private
+ * @param {Array} array The array to shuffle.
+ * @returns {Array} Returns the new shuffled array.
+ */
+function arrayShuffle(array) {
+ return shuffleSelf(copyArray(array));
+}
+
+module.exports = arrayShuffle;