[问卦] and先还是or先?

楼主: TaraSoYeon (素妍魂)   2023-02-09 12:44:58
function(trigger)
return trigger[1] and trigger[2] or trigger[3] or trigger[4];
end
这样的话会是 (1+2) 或 3 或 4
还是 1+ (2 或 3 或4)
是and还是or先啊?
有头绪吗各位!

Links booklink

Contact Us: admin [ a t ] ucptt.com