function eval
eval(x: string): any

Evaluates JavaScript code and executes it.

Parameters

x: string

A String value that contains valid JavaScript code.

Return Type

any