(expr: string)
| 46 | } |
| 47 | |
| 48 | export function evaluateExpression(expr: string) { |
| 49 | // eslint-disable-next-line no-new-func |
| 50 | const fn = new Function(expr); |
| 51 | return fn(); |
| 52 | } |
| 53 | |
| 54 | export function newFunction(args: string, code: string) { |
| 55 | try { |
no outgoing calls
no test coverage detected
searching dependent graphs…