Skip to content

Commit 554ad31

Browse files
committedDec 29, 2023
chore: dedicated string vs number var usage;
- related: #23
1 parent deff09b commit 554ad31

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎src/index.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ function toVal(mix) {
1515
}
1616
}
1717
} else {
18-
for (k in mix) {
19-
if (mix[k]) {
18+
for (y in mix) {
19+
if (mix[y]) {
2020
str && (str += ' ');
21-
str += k;
21+
str += y;
2222
}
2323
}
2424
}

0 commit comments

Comments
 (0)
Please sign in to comment.