* Execute a JIT generated function by calling it. * * This method can be overridden in tests to capture the functions that are generated * by this `JitEvaluator` class. * * @param fn A function to execute. * @param args The arguments to pass to the function being executed. * @re
(fn: Function, args: any[])
| 95 | * @returns The return value of the executed function. |
| 96 | */ |
| 97 | executeFunction(fn: Function, args: any[]) { |
| 98 | return fn(...args); |
| 99 | } |
| 100 | } |
| 101 | |
| 102 | /** |