Skip to content

Commit 857c74f

Browse files
authored
Merge pull request #1249 from snowcoding/patch-2
Update article.md
2 parents 07784d8 + ca85093 commit 857c74f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/06-advanced-functions/01-recursion/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ As we can see, when our function gets a department to sum, there are two possibl
337337
338338
The 1st case is the base of recursion, the trivial case, when we get an array.
339339
340-
The 2nd case when we gen an object is the recursive step. A complex task is split into subtasks for smaller departments. They may in turn split again, but sooner or later the split will finish at (1).
340+
The 2nd case when we get an object is the recursive step. A complex task is split into subtasks for smaller departments. They may in turn split again, but sooner or later the split will finish at (1).
341341
342342
The algorithm is probably even easier to read from the code:
343343

0 commit comments

Comments
 (0)