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.
19 lines
213 B
19 lines
213 B
summary: corner cases for 'new Function()' when arguments and code are given as strings
|
|
---
|
|
6
|
|
6
|
|
6
|
|
6
|
|
SyntaxError
|
|
SyntaxError
|
|
function () {if (1) {print('foo')}}
|
|
foo
|
|
foo
|
|
OBJ1
|
|
OBJ2
|
|
OBJ3
|
|
7
|
|
undefined
|
|
foo
|
|
foo 1
|
|
foo 1 2
|
|
|