mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
Currently it evaluates the given expression in the context of the top most stack frame. The expression should access to any variables and arguments that are in the scope chain. Implement the eval_at request with the level of the scope chain as a further argument. JerryScript-DCO-1.0-Signed-off-by: Robert Sipka rsipka.uszeged@partner.samsung.com
21 lines
205 B
Batchfile
21 lines
205 B
Batchfile
eval_at 0
|
|
eval_at 0 b
|
|
n
|
|
eval_at 0 b
|
|
b do_eval_at.js:20
|
|
n
|
|
scopes
|
|
eval_at 0 b
|
|
eval_at 1 b
|
|
eval_at 0 b=20
|
|
eval_at 1 b=100
|
|
n
|
|
eval_at 0 a
|
|
scopes
|
|
eval_at 0 b
|
|
eval_at -1 b
|
|
eval_at 65536 b
|
|
eval_at b
|
|
eval_at 200
|
|
c
|