Lua: store unspecified number of items in return value
snippet in lua

Lua: store unspecified number of items in return value

user1281

function bar_store()
  local v = {foo()}
  process()
  return unpack(v)
end