Skip to content

Commit dd16ce4

Browse files
authored
Merge pull request #1185 from va-z/patch-1
Fix typo
2 parents f6ff773 + 339c0b6 commit dd16ce4

File tree

1 file changed

+1
-1
lines changed
  • 1-js/06-advanced-functions/01-recursion/04-output-single-linked-list

1 file changed

+1
-1
lines changed

1-js/06-advanced-functions/01-recursion/04-output-single-linked-list/solution.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function printList(list) {
4343
}
4444
```
4545

46-
...But that would be unwise. In the future we may need to extend a function, do something else with the list. If we change `list`, then we loose such ability.
46+
...But that would be unwise. In the future we may need to extend a function, do something else with the list. If we change `list`, then we lose such ability.
4747

4848
Talking about good variable names, `list` here is the list itself. The first element of it. And it should remain like that. That's clear and reliable.
4949

0 commit comments

Comments
 (0)