The logic I am trying to express is:
- if
condition_1
AND - either
condition2
ORcondition3
AND condition_4
THENconsole.log("THING ONE")
- OTHERWISE
console.log("THING TWO");
edit - figured out original issue was in other code whilst writing, so posting answer Q&A-style