Open mrutid opened 10 months ago
https://github.com/TomFrost/Jexl/issues/133
Fixes 133 making a fallback to null in every aritmetic operation involving a "nulable value" (null, undefined, NaN).
Test cases may be under discussion (fall back NaN, undefined to Null), but at least
● Evaluator › evaluates an arithmetic expression with null values in context
Should be considered a BUG (Returns 12 prior to fix).
Best Regards
https://github.com/TomFrost/Jexl/issues/133
Fixes 133 making a fallback to null in every aritmetic operation involving a "nulable value" (null, undefined, NaN).
Test cases may be under discussion (fall back NaN, undefined to Null), but at least
● Evaluator › evaluates an arithmetic expression with null values in context
Should be considered a BUG (Returns 12 prior to fix).
Best Regards