mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 09:47:48 +00:00
Convert remaining vars to let/const.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user