UNPKG

jsx

Version:

a faster, safer, easier JavaScript

16 lines (15 loc) 272 B
/*EXPECTED hello */ class _Main { static function f() : number { throw new Error("hello"); } static function main(args : string[]) : void { try { _Main.f(); } catch (e : Error) { log e.message; } } }