KiteJsScriptEngine
class KiteJsScriptEngine(val instructionBudget: Int = DEFAULT_INSTRUCTION_BUDGET, deadline: () -> Boolean? = null, clock: () -> Long? = null, asmJs: Boolean = true) : KiteScriptEngine
A KiteScriptEngine that runs on KiteJS.
Document scripts are untrusted, so every call runs under instructionBudget: a script that never returns fails with a KiteScriptException instead of hanging the app. The built-ins are read-only, so one script cannot redefine what another relies on. Scripts reach nothing outside the engine except the functions and values the host defines.