evaluate_with_source_uri
Description:
Evaluate code
in this using uri
as the source URI.
The line_number
is the starting line number in uri
; the value is one-based so the first line is 1. uri
and line_number
will be shown in exceptions and they don't affect the behavior of the script.
Parameters:
this |
a Context |
code |
a JavaScript script to evaluate |
length |
length of |
uri |
the source URI |
line_number |
the starting line number |
Returns:
a Value representing the last value generated by the script. |