We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9aa718d commit df9e4edCopy full SHA for df9e4ed
problems/trampoline/solution.js
@@ -1,6 +1,6 @@
1
function repeat(operation, num) {
2
- if (num <= 0) return
3
return function() {
+ if (num <= 0) return
4
operation()
5
return repeat(operation, --num)
6
}
0 commit comments