exec

open override fun exec(cx: Context, scope: Scriptable, thisObj: Scriptable): Any?

Runs the script with thisObj as its this value.

cx has to be the Context associated with the calling thread.