Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Lua では、Javascript の apply() 関数に相当するものはありますか?
()を使用してみてくださいunpack
()
unpack
function sayhello(name, message) print("hello " .. name .. ". " .. message) end func1 = sayhello args1 = {"test", "how are you"} func1(unpack(args1))