Closed IonKiwi closed 3 years ago
The following expression
false === true || false === false || true === true
should evaluate to true (but it does not)
in Node.ts, create_root(), the resulting tree (for false === true || false === false || true === true), looks like:
(false === true) || (false === (false || true === true))
Demo: https://jsfiddle.net/ionkiwi/oqkr16um/1/
Screenshot of the resulting tree:
Seems to especially trigger when using multiple or statements
Took another look at the open issues/pull requests. Seems there is already a pull request that resolves this: https://github.com/knockout/tko/pull/151
The following expression
should evaluate to true (but it does not)
in Node.ts, create_root(), the resulting tree (for false === true || false === false || true === true), looks like:
Demo: https://jsfiddle.net/ionkiwi/oqkr16um/1/
Screenshot of the resulting tree:
Seems to especially trigger when using multiple or statements