createFunctionObject
FunctionDynamically creates a function object from a string of JavaScript code.
createFunctionObject(
code,funcName):any
Dynamically creates a function object from a string of JavaScript code. This allows you to generate and execute functions at runtime.
Parameters
| Parameter | Type |
|---|---|
code | string |
funcName | string |
Returns
any