Apply let/const transform.

This commit is contained in:
John-David Dalton
2017-01-07 23:18:22 -08:00
parent 4c881b2726
commit 10f64ee9c4
103 changed files with 207 additions and 207 deletions

View File

@@ -11,7 +11,7 @@ import values from './values.js';
* @returns {Array} Returns the random elements.
*/
function baseSampleSize(collection, n) {
var array = values(collection);
const array = values(collection);
return shuffleSelf(array, baseClamp(n, 0, array.length));
}