Skip to content

Commit

Permalink
fix: πŸ› don't use let keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
streamich committed Oct 11, 2020
1 parent 7baca2c commit 32a85c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/v1.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function copy(obj) {
var keys = Object.keys(obj);
var length = keys.length;
var newObject = {};
for (let i = 0; i < length; i++) {
for (var i = 0; i < length; i++) {
var key = keys[i];
newObject[key] = copy(obj[key]);
}
Expand Down

0 comments on commit 32a85c1

Please sign in to comment.