mirror of
https://github.com/leafo/moonscript.git
synced 2024-11-22 02:44:23 +00:00
24 lines
426 B
Lua
24 lines
426 B
Lua
local x = 1 + 3
|
|
local y = 1 + 3
|
|
local z = 1 + 3 + 4
|
|
local k = b and c and g
|
|
local h = thing and function()
|
|
return print("hello world")
|
|
end
|
|
local i = thing or function()
|
|
return print("hello world")
|
|
end
|
|
local p = thing and function() end
|
|
print("hello world")
|
|
local s = thing or function() end and 234
|
|
local u = {
|
|
color = 1 and 2 and 3,
|
|
4,
|
|
4
|
|
}
|
|
local v = {
|
|
color = 1 and function()
|
|
return "yeah"
|
|
end,
|
|
"great"
|
|
} |