This has come up many times in my use cases: Jsep allows custom unary and binary operators, but the ternary operator is implemented ad hoc. It would be nice if there was an analogous addTernaryOp() function that allowed custom ternary operators. Possibly via the ternary operator plugin?