9 lines
134 B
Lua
9 lines
134 B
Lua
function add(x)
|
|
return function (y)
|
|
x = x + 1
|
|
return x + y, 1, 2
|
|
end
|
|
end
|
|
|
|
print(max(11, 9))
|
|
print(add(10)(15)) |