* Evaluate an expression * @param {string} expr * @return {string} result
(expr)
| 14 | * @return {string} result |
| 15 | */ |
| 16 | function evaluate (expr) { |
| 17 | const ans = math.evaluate(expr) |
| 18 | return math.format(ans) |
| 19 | } |
| 20 | |
| 21 | // create a worker and register public functions |
| 22 | workerpool.worker({ |
no test coverage detected
searching dependent graphs…