Update article.md

This commit is contained in:
Nic Capdevila 2018-10-09 21:40:58 -03:00 committed by GitHub
parent 37dc13d8d4
commit c131f05b8b
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