Skip to content

Commit 2d030ab

Browse files
committed
update solve problem to counter
1 parent 20a992e commit 2d030ab

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Diff for: 2620. counter/index.js

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
const createCounter = (n) => {
2+
return () => {
3+
return n++
4+
}
5+
}

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
| Title | Completed |
66
| :------------------------------------------- | :-------: |
77
| Create Hello World Function ||
8-
| Counter | |
8+
| Counter | |
99
| To Be Or Not To Be ||
1010
| Counter II | |
1111
| Apply Transform Over Each Element in Array ||

0 commit comments

Comments
 (0)