MCPcopy Index your code
hub / github.com/angular/angular / executeFunction

Method executeFunction

packages/compiler/src/output/output_jit.ts:97–99  ·  view source on GitHub ↗

* 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[])

Source from the content-addressed store, hash-verified

95 * @returns The return value of the executed function.
96 */
97 executeFunction(fn: Function, args: any[]) {
98 return fn(...args);
99 }
100}
101
102/**

Callers 1

evaluateCodeMethod · 0.95

Calls 1

fnFunction · 0.70

Tested by

no test coverage detected