functionFromString()
Function: functionFromString()
Section titled “Function: functionFromString()”function functionFromString(string): SyntaxError | TypeError;Converts a string to a function.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
string | string |
Returns
Section titled “Returns”SyntaxError | TypeError
Function or object {error: "error text"}