But actually, it seems to work fine if the additional ternary conditionals is on value-if-false. Here:
Code: Select all
msg confirm("first confirm") ? "ok 1" : confirm("second confirm?") ? "ok 2" : confirm("third confirm?") ? "ok 3" : "and so on...";I'd vote to keep it, since it can actually be useful, but given how it can't work for value-if-true even with appropriate parenthesis (which would be the bug I'd say), that might not be be wise...
XYplorer Beta Club