Skip to content

Commit c02c23e

Browse files
committed
update keyword for variable declaration (tallySet
1 parent cbed42f commit c02c23e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Sprint-2/implement/tally.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ function tally(array) {
33
throw new Error("Input should be an array");
44
}
55

6-
let tallySet = {};
6+
const tallySet = {};
77

88
for (let item of array) {
99
if (!tallySet[item]) {

0 commit comments

Comments
 (0)