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.
 
 
 
 
 
 

18 lines
269 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);
}