funcons-simple-0.1.0.3: tests/Kexceptions/Kexceptions05.output
=== Program ===
var x;
function f(y) {
var t = 1;
try{
print(t," ");
throw 5;
print(8); // not reachable
} catch(p) {
print(p+10," ");
}
for (var i = 1; i <= y; ++i) {
t = t*i;
}
return t;
}
function main() {
x = 5;
print(f(x),"\n");
}
// 1 15 120
=== Output ===
Result:
null-value
Output Entity: standard-out
1," ",15," ",120,"\n"