I'm trying to understand what a JavaScript array is because traditional programming languages define an array as a contiguous area of storage that can be addressed using an offset.
Now, a normal JavaScript object can be addressed as:
myObj.myProperty = "my Value";
or
myObj["myProperty"] = "my Value";
So, a JavaScript array is simply using numbers instead of names in it's addressing:
myObj[0] = "my Value";
myObj.length // === 1
A JavaScript Array also has methods, such as slice(), and join().
Q: Is what I said so far true?
myObj[0], it gets converted tomyObj['0']