Merge pull request #546 from ncapdevi/patch-1

Update article.md
This commit is contained in:
Ilya Kantor 2018-10-10 12:10:36 +03:00 committed by GitHub
commit 9de36588a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -132,7 +132,7 @@ Note that `\n` is a single "special" character, so the length is indeed `3`.
```warn header="`length` is a property"
People with a background in some other languages sometimes mistype by calling `str.length()` instead of just `str.length`. That doesn't work.
Please note that `str.length` is a numeric property, not a function. There is no need to add brackets after it.
Please note that `str.length` is a numeric property, not a function. There is no need to add parenthesis after it.
```
## Accessing characters