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 bb2132d commit d1b119cCopy full SHA for d1b119c
README.md
@@ -44,7 +44,7 @@ Is it a true definition? Mostly. Recursion is when a function calls itself. A re
44
_What does this all mean?_ Let's consider a silly example:
45
```sh
46
function stepsToZero(n) {
47
- if (!n === 0) { /* base case */
+ if (n === 0) { /* base case */
48
console.log('Reached zero');
49
return;
50
} else { /* recursive case */
0 commit comments