Merge pull request #1185 from va-z/patch-1

Fix typo
This commit is contained in:
Ilya Kantor 2019-07-27 00:26:01 +03:00 committed by GitHub
commit dd16ce4387
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,7 +43,7 @@ function printList(list) {
} }
``` ```
...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. ...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.
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. 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.