From 59e45d99f255c233cd67f922544c4485db83c6a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Lipi=C5=84ski?= Date: Mon, 6 Mar 2017 10:42:27 +0100 Subject: [PATCH] Fixin assignment to constant. --- forOwnRight.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }