Page MenuHomePhorge

test_throw_stack.cjs
No OneTemporary

Size
382 B
Referenced Files
None
Subscribers
None

test_throw_stack.cjs

// Test throw statement with stack traces
console.log('=== Throw with Stack Trace Test ===');
function level3() {
console.log('In level3');
throw "error from level3";
}
function level2() {
console.log('In level2');
level3();
}
function level1() {
console.log('In level1');
level2();
}
console.log('Starting test...');
level1();
console.log('This should not print');

File Metadata

Mime Type
text/plain
Expires
Sun, May 3, 8:56 AM (4 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
523868
Default Alt Text
test_throw_stack.cjs (382 B)

Event Timeline