mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-08 07:34:07 +00:00
Added definition to function 'twice()'
This commit is contained in:
parent
bc065ce2bf
commit
a13e120fd5
@ -119,6 +119,9 @@ print("********************************************")
|
||||
|
||||
print("**********Functions*****************")
|
||||
print("function twice(x) return 2*x end")
|
||||
function twice(x)
|
||||
return 2*x
|
||||
end
|
||||
b=twice(3)
|
||||
print(b)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user