-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
function a()
return 1, 2, 3, 4, 5, 6
end
b = {
a()
}
for k, v in pairs(b) do
print(k, v)
end
parse above code and toLua below
function a()
return 1, 2, 3, 4, 5, 6
end
b = {
[1] = a(),
}
for k, v in pairs(b) do
print(k, v)
end
for first cmd output
1 1
2 2
3 3
4 4
5 5
6 6
for second cmd output
1 1
Metadata
Metadata
Assignees
Labels
No labels