Array literal
A list written in place: values in square brackets, `[expression, expression]`, or `[]` for the empty list. A list is read with count, contains, join, get_field(list, position), sum and the other list functions, grown with append, and shown by a data list. On the server it is an array with keys 0, 1, 2...; on the device a JavaScript array. (2026-11-01, roadmap S5)
Runs on: either side: the compiler places the statement that calls it where the values it uses live.
Format:
[expression [, expression ...]]
Examples
sizes = ["S", "M", "L"]
photos = []