Quote:
Originally Posted by Erriez
|
What's outdated about the documentation?
Also grep for "array" in the documentation you will not find it. Because [] in JS designates a memory access and no array access. How the memory access works is clearly outlined in the documentation, no?
Just because JS uses squared brackets doesn't mean their semantic should be the same as in some other language! Squared brackets in JS access the memory at the position calculated from the value before the [] (the offset) plus the value within the [] (the index).
So in conclusion their is no array syntax in JS, hence no arrays.