Skip to content

Arrays

Arrays hold lists

  • An array is an ordered list of values in [ ... ].
  • Reach an item by its index, counting from 0: arr[0] is the first.
  • .length tells you how many items there are.

Log in or create account

IGCSE & A-Level