Allow returning literal Infinity string from math operations
| @@ -709,7 +709,7 @@ function performOperation(value, operation, singleOperand = false, scope = null) | |||
| 709 | 709 | ||
| 710 | const result = singleOperand ? operation(array[0]) : operation(array); | 710 | const result = singleOperand ? operation(array[0]) : operation(array); |
| 711 | 711 | ||
| 712 | if (isNaN(result) || !isFinite(result)) { | 712 | if (isNaN(result)) { |
| 713 | return 0; | 713 | return 0; |
| 714 | } | 714 | } |
| 715 | 715 | ||