Fixin assignment to constant.

This commit is contained in:
Michał Lipiński
2017-03-06 10:42:27 +01:00
parent bda6d56c60
commit 59e45d99f2

View File

@@ -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)
}