evaluate


Description:

public Value evaluate (string code, ssize_t length)

Evaluate code in this.

Parameters:

this

a Context

code

a JavaScript script to evaluate

length

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

Returns:

a Value representing the last value generated by the script.