// This tests indexing an array.


arr = [90, 91, 92]

// Test: literal index.


result0 = arr[1]

assert(result0, isLessThanOrEqual = 91, error = "Literal property lookup")
assert(result0, isGreaterThanOrEqual = 91, error = "Literal property lookup")

// Test: computed index.


i = 1 + 0
result1 = arr[i]

assert(result1, isLessThanOrEqual = 91, error = "Computed property lookup")
assert(result1, isGreaterThanOrEqual = 91, error = "Computed property lookup")
