From ba52c744aea55a385ea6604faf73245fa8b9bc85 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Thu, 2 Mar 2017 10:03:12 -0800 Subject: [PATCH] Avoid let lists. --- .internal/baseSlice.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.internal/baseSlice.js b/.internal/baseSlice.js index ed042ba90..5d114e436 100644 --- a/.internal/baseSlice.js +++ b/.internal/baseSlice.js @@ -8,8 +8,8 @@ * @returns {Array} Returns the slice of `array`. */ function baseSlice(array, start, end) { - let index = -1, - length = array.length + let index = -1 + let length = array.length if (start < 0) { start = -start > length ? 0 : (length + start)