Skip to main content

Groups

If you need to overcome the operator priority you can use groups to represent your intended logical groupings.

knot
const falseResult = 123 - 4 * 10 > 90;
const trueResult = (123 - 4) * 10 > 90;
knot
const falseResult = 123 - 4 * 10 > 90;
const trueResult = (123 - 4) * 10 > 90;