Allow returning literal Infinity string from math operations

3fd846fb5b46d876898dde344c26dbcd6da7f222

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

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