evaluateWebScript(_:)
Returns the result of evaluating a script in the scripting environment.
Declaration
func evaluateWebScript(_ script: String!) -> Any!Parameters
- script:
The script to evaluate.
Return Value
The scripting object. The format of the script is dependent on the target scripting environment. Returns WebUndefined if an exception is thrown in the JavaScript environment or there is no return value.