Skip to content

Commit e153c55

Browse files
committed
Another update on closures challange 3
1 parent ae358b8 commit e153c55

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

assignments/closure.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const counterFactory = () => {
4343
return ++param;
4444
},
4545
decrement: function decrement () {
46-
return --param;
46+
return param--;
4747
}
4848
}
4949
};

0 commit comments

Comments
 (0)