* Change to disallow indexing records/objects with strings * Update output * Remove outdated sim test * Fix tests
7 lines
117 B
Plaintext
7 lines
117 B
Plaintext
// This tests computed properties.
|
|
|
|
p = "foo"
|
|
obj = { foo = 1, bar = 0 }
|
|
// Try to index with a string.
|
|
one = obj[p]
|