mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 16:47:49 +00:00
Remove semicolons.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import baseClamp from './baseClamp.js';
|
||||
import shuffleSelf from './shuffleSelf.js';
|
||||
import values from '../values.js';
|
||||
import baseClamp from './baseClamp.js'
|
||||
import shuffleSelf from './shuffleSelf.js'
|
||||
import values from '../values.js'
|
||||
|
||||
/**
|
||||
* The base implementation of `sampleSize` without param guards.
|
||||
@@ -11,8 +11,8 @@ import values from '../values.js';
|
||||
* @returns {Array} Returns the random elements.
|
||||
*/
|
||||
function baseSampleSize(collection, n) {
|
||||
const array = values(collection);
|
||||
return shuffleSelf(array, baseClamp(n, 0, array.length));
|
||||
const array = values(collection)
|
||||
return shuffleSelf(array, baseClamp(n, 0, array.length))
|
||||
}
|
||||
|
||||
export default baseSampleSize;
|
||||
export default baseSampleSize
|
||||
|
||||
Reference in New Issue
Block a user