nodemcu-linux
nodemcu-linux copied to clipboard
`function(...)` compatibility
Perhaps a Lua wizard can help me out:
function(...)in Lua 5.1 (NodeMCU/ESP8266 and NodeMCU/ESP32) the table variableargis set within the functionluajitdoes not setarg, but one accesses it viaarg = {...}and does with it furtherlua5.1does setarg
I currently used (...) and then arg a lot in NodeMCU-Shell.
What is the best way to deal with this, also in regards when newer Lua version is used in NodeMCU/*?