Lua ternary operator - multiple variables
snippet in lua

Lua ternary operator - multiple variables

user4361

a, b = unpack(4 > 5 and {1,2} or {3,4})