Remove semicolons.

This commit is contained in:
John-David Dalton
2017-02-04 23:50:10 -08:00
parent f3a8e55e70
commit 6cb3460fce
452 changed files with 4261 additions and 4261 deletions

View File

@@ -1,5 +1,5 @@
import arrayShuffle from './.internal/arrayShuffle.js';
import baseShuffle from './.internal/baseShuffle.js';
import arrayShuffle from './.internal/arrayShuffle.js'
import baseShuffle from './.internal/baseShuffle.js'
/**
* Creates an array of shuffled values, using a version of the
@@ -11,12 +11,12 @@ import baseShuffle from './.internal/baseShuffle.js';
* @returns {Array} Returns the new shuffled array.
* @example
*
* shuffle([1, 2, 3, 4]);
* shuffle([1, 2, 3, 4])
* // => [4, 1, 3, 2]
*/
function shuffle(collection) {
const func = Array.isArray(collection) ? arrayShuffle : baseShuffle;
return func(collection);
const func = Array.isArray(collection) ? arrayShuffle : baseShuffle
return func(collection)
}
export default shuffle;
export default shuffle