Array Expression
An array expression creates a new array with the given elements.
Structure
Elements = ( Expression ( ',' Expression )* )?
ArrayExpr = '[' Elements ']'
Example
[]
[1, 2, 3]
[true, 'hello', getValue(), (10 + 5) * 3]
[
5
]
[
1,
2,
3
]
[
true,
'hello',
getValue(),
(10 + 5) * 3
]