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.
17 lines
268 B
17 lines
268 B
/*
|
|
* Test that we support the invalid but out-in-the-wild variation
|
|
* described in:
|
|
*
|
|
* https://bugs.ecmascript.org/show_bug.cgi?id=8
|
|
*/
|
|
|
|
/*===
|
|
loop
|
|
false
|
|
===*/
|
|
|
|
try {
|
|
print(eval("do{print('loop')}while(false)false"));
|
|
} catch (e) {
|
|
print(e.name);
|
|
}
|
|
|