diff --git a/.internal/baseFor.js b/.internal/baseFor.js index 42db6db8e..a0eb40309 100644 --- a/.internal/baseFor.js +++ b/.internal/baseFor.js @@ -12,13 +12,13 @@ function baseFor(object, iteratee, keysFunc) { const iterable = Object(object) const props = keysFunc(object) - let { length } = props; - let index = -1; + let { length } = props + let index = -1 while (length--) { - const key = props[++index]; + const key = props[++index] if (iteratee(iterable[key], key, iterable) === false) { - break; + break } } return object diff --git a/.internal/baseForRight.js b/.internal/baseForRight.js index 1e6599656..d10c6a15c 100644 --- a/.internal/baseForRight.js +++ b/.internal/baseForRight.js @@ -11,12 +11,12 @@ function baseForRight(object, iteratee, keysFunc) { const iterable = Object(object) const props = keysFunc(object) - let { length } = props; + let { length } = props while (length--) { - const key = props[length]; + const key = props[length] if (iteratee(iterable[key], key, iterable) === false) { - break; + break } } return object