mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 10:31:50 +00:00
feat: ipairs(...) support in Bytearray
This commit is contained in:
parent
d8feff56c0
commit
9169049530
2 changed files with 13 additions and 0 deletions
|
|
@ -6,3 +6,7 @@ for i=1,10 do
|
|||
assert(#arr == i)
|
||||
assert(arr[i] == 10 - i)
|
||||
end
|
||||
|
||||
for i, v in ipairs(arr) do
|
||||
assert(v == 10 - i)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue