mirror of
https://github.com/leafo/moonscript.git
synced 2024-11-22 02:44:23 +00:00
rebuilt syntax test
This commit is contained in:
parent
a873203469
commit
64312e48cf
@ -100,4 +100,15 @@ x = x + 10 + 3
|
|||||||
local j = j - "hello"
|
local j = j - "hello"
|
||||||
y = y * 2
|
y = y * 2
|
||||||
y = y / 100
|
y = y / 100
|
||||||
local m = m % 2
|
local m = m % 2
|
||||||
|
x = 0
|
||||||
|
local _item_0 = values
|
||||||
|
for _index_0=1,#_item_0 do
|
||||||
|
local v = _item_0[_index_0]
|
||||||
|
_ = ((function()
|
||||||
|
if ntype(v) == "fndef" then
|
||||||
|
x = x + 1
|
||||||
|
return x
|
||||||
|
end
|
||||||
|
end)())
|
||||||
|
end
|
Loading…
Reference in New Issue
Block a user