Why are the parenthesis around the ternary required to get the expected result?
➜ node -p "console.log('hello' || true ? 'world' : 'foo')"
world
➜ node -p "console.log('hello' || (true ? 'world' : 'foo'))"
hello
... "because JS" is not the answer I'm looking for.