This commit is contained in:
Skubie Doo 2017-03-26 14:24:01 -04:00 committed by GitHub
parent a652580bfb
commit f50b304a2b

View file

@ -329,7 +329,7 @@ Generally, we shouldn't use `for..in` for arrays.
## 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: