diff --git a/forOwnRight.js b/forOwnRight.js index e54264cc4..5fbfbd5e1 100644 --- a/forOwnRight.js +++ b/forOwnRight.js @@ -27,7 +27,7 @@ function forOwnRight(object, iteratee) { return } const props = Object.keys(object) - const length = props.length + let length = props.length while (length--) { iteratee(object[props[length]], iteratee, object) }