mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 02:17:50 +00:00
Remove semicolons.
This commit is contained in:
@@ -12,13 +12,13 @@
|
|||||||
function baseFor(object, iteratee, keysFunc) {
|
function baseFor(object, iteratee, keysFunc) {
|
||||||
const iterable = Object(object)
|
const iterable = Object(object)
|
||||||
const props = keysFunc(object)
|
const props = keysFunc(object)
|
||||||
let { length } = props;
|
let { length } = props
|
||||||
let index = -1;
|
let index = -1
|
||||||
|
|
||||||
while (length--) {
|
while (length--) {
|
||||||
const key = props[++index];
|
const key = props[++index]
|
||||||
if (iteratee(iterable[key], key, iterable) === false) {
|
if (iteratee(iterable[key], key, iterable) === false) {
|
||||||
break;
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return object
|
return object
|
||||||
|
|||||||
@@ -11,12 +11,12 @@
|
|||||||
function baseForRight(object, iteratee, keysFunc) {
|
function baseForRight(object, iteratee, keysFunc) {
|
||||||
const iterable = Object(object)
|
const iterable = Object(object)
|
||||||
const props = keysFunc(object)
|
const props = keysFunc(object)
|
||||||
let { length } = props;
|
let { length } = props
|
||||||
|
|
||||||
while (length--) {
|
while (length--) {
|
||||||
const key = props[length];
|
const key = props[length]
|
||||||
if (iteratee(iterable[key], key, iterable) === false) {
|
if (iteratee(iterable[key], key, iterable) === false) {
|
||||||
break;
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return object
|
return object
|
||||||
|
|||||||
Reference in New Issue
Block a user