Convert remaining vars to let/const.

This commit is contained in:
John-David Dalton
2017-01-09 13:53:41 -08:00
parent 40e9c66ca6
commit c2208f82dc
12 changed files with 37 additions and 21 deletions

View File

@@ -21,9 +21,10 @@ function basePullAt(array, indexes) {
const lastIndex = length - 1;
while (length--) {
let previous;
const index = indexes[length];
if (length == lastIndex || index !== previous) {
var previous = index;
previous = index;
if (isIndex(index)) {
splice.call(array, index, 1);
} else {