You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-- params : ...
-- function num : 0 , upvalues : _ENV
local arry = {1, 2, 3}
check = function(idx)
-- function num : 0_0 , upvalues : arry
if not arry[idx] then
return arry[#arry]
end
end
The text was updated successfully, but these errors were encountered:
test.lua:
local arry={1,2,3}
function check(idx)
return arry[idx] or arry[#arry]
end
cmd:
luac test.lua
luadec luac.out>res.lua
res.lua:$WCREV$ for Lua 5.3 from https://github.com/viruscamp/luadec
-- Decompiled using luadec 2.2 rev:
-- Command line: luac.out
-- params : ...
-- function num : 0 , upvalues : _ENV
local arry = {1, 2, 3}
check = function(idx)
-- function num : 0_0 , upvalues : arry
if not arry[idx] then
return arry[#arry]
end
end
The text was updated successfully, but these errors were encountered: