mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 01:17:50 +00:00
Use more destructuring.
This commit is contained in:
@@ -13,7 +13,7 @@ function baseSortedUniq(array, iteratee) {
|
||||
let index = -1
|
||||
let resIndex = 0
|
||||
|
||||
const length = array.length
|
||||
const { length } = array
|
||||
const result = []
|
||||
|
||||
while (++index < length) {
|
||||
|
||||
Reference in New Issue
Block a user