Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Remove misplaced comment explanation

...

Code Block
languagejavascript
themeConfluence
a = [1,4,3,6,5];
b = a[1] // b = 4
Info
Comments start with a double slash (//) and go to the end of the line. The examples in this appendix frequently use comments to show return values.


Note that array references work for arrays of any dimension. For example, c[1][2] is allowed (presuming c is an array of arrays).

...