initScript
fun initScript(execObj: ScriptOrFn<*>, thisObj: Scriptable?, cx: Context, scope: Scriptable, evalScript: Boolean)
Puts a script's declared variables into scope before it runs.
Puts a script's declared variables into scope before it runs.