JavaScript syntax: Difference between revisions

Content deleted Content added
Ruud Koot (talk | contribs)
rm (to be) deleted template
Line 45:
myArray["1"]
 
TheseThe above two are equivalent. It's not possible to use the "dot"-notation or strings with alternative representations of the number:
 
myArray.1 (syntax error)