mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-31 23:37:49 +00:00
Avoid let lists.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user