mirror of
https://github.com/hi-language/transpiler.git
synced 2026-01-13 16:18:04 +00:00
Feat: Add test for array literals and access
This commit is contained in:
6
test/src/arrays.hi
Normal file
6
test/src/arrays.hi
Normal file
@@ -0,0 +1,6 @@
|
||||
items: [10, "hello", !0]
|
||||
_(items[0])
|
||||
_(items[1])
|
||||
|
||||
items[0] = 20
|
||||
_(items[0])
|
||||
Reference in New Issue
Block a user