MIRROR: javascript for 馃悳's, a tiny runtime with big ambitions
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at master 21 lines 382 B view raw
1// Test throw statement with stack traces 2console.log('=== Throw with Stack Trace Test ==='); 3 4function level3() { 5 console.log('In level3'); 6 throw "error from level3"; 7} 8 9function level2() { 10 console.log('In level2'); 11 level3(); 12} 13 14function level1() { 15 console.log('In level1'); 16 level2(); 17} 18 19console.log('Starting test...'); 20level1(); 21console.log('This should not print');