Apply more let/const transforms.

This commit is contained in:
John-David Dalton
2017-01-08 23:38:19 -08:00
parent ca9e6fa087
commit 4d0c15b49e
115 changed files with 621 additions and 613 deletions

View File

@@ -30,7 +30,7 @@ function sampleSize(collection, n, guard) {
} else {
n = toInteger(n);
}
var func = isArray(collection) ? arraySampleSize : baseSampleSize;
const func = isArray(collection) ? arraySampleSize : baseSampleSize;
return func(collection, n);
}