Использование Pack и Unpack в Lua 5.1

local lua = {}
 
function lua.mult(...)
  -- one = select(1, ...)
  -- print(one)
  all = {...}
  for k,v in pairs(all) do
    all[k] = v * v
  end
  return unpack(all)
end
 
print(_VERSION)
print(lua.mult(2, 4, 8))