Add the missing `&` operator computation

This commit is contained in:
yuanchuan 2021-10-25 14:10:24 +08:00
parent 38f23bef32
commit 0a0ce8d01e
1 changed files with 1 additions and 0 deletions

View File

@ -244,6 +244,7 @@ function compute(op, a, b) {
case '*': return a * b;
case '%': return a % b;
case '|': return a | b;
case '&': return a & b;
case '<': return a < b;
case '>': return a > b;
case '^': return Math.pow(a, b);