Fix typo
This commit is contained in:
parent
a652580bfb
commit
f50b304a2b
1 changed files with 1 additions and 1 deletions
|
@ -329,7 +329,7 @@ Generally, we shouldn't use `for..in` for arrays.
|
||||||
|
|
||||||
## A word about "length"
|
## A word about "length"
|
||||||
|
|
||||||
The `length` property automatically updates when we modify the array. To be precies, it is actually not the count of values in the array, but the greatest numeric index plus one.
|
The `length` property automatically updates when we modify the array. To be precise, it is actually not the count of values in the array, but the greatest numeric index plus one.
|
||||||
|
|
||||||
For instance, a single element with a large index gives a big length:
|
For instance, a single element with a large index gives a big length:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue