evaluate

fun evaluate(code: String, length: Long): Value

Evaluate @code in @context.

Return

a #JSCValue representing the last value generated by the script.

Parameters

code

a JavaScript script to evaluate

length

length of @code, or -1 if @code is a nul-terminated string