Allow returning literal Infinity string from math operations

3fd846fb5b46d876898dde344c26dbcd6da7f222

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +1 -1Showing whitespace changes
public/scripts/variables.js+1 -1
@@ -709,7 +709,7 @@ function performOperation(value, operation, singleOperand = false, scope = null)
709709
710710 const result = singleOperand ? operation(array[0]) : operation(array);
711711
712712 if (isNaN(result) || !isFinite(result)) {
713713 return 0;
714714 }
715715