mirror of https://github.com/svaarala/duktape.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
276 B
14 lines
276 B
/* FIXME: for eval/global code */
|
|
/* FIXME: test for handling of 'valued' and 'non-valued' statements */
|
|
|
|
/*===
|
|
3
|
|
3
|
|
===*/
|
|
|
|
/* basic case */
|
|
print(eval('1+2;'));
|
|
|
|
/* an empty statement (like debugger) must not alter non-empty previous result */
|
|
print(eval('1+2; debugger;'));
|
|
|
|
|