Source code
Revision control
Copy as Markdown
Other Tools
TryToCatch();
TryToCatch();
function Thrower( v ) {
throw "Caught";
}
function Eval( v ) {
SECTION : Thrower(TryToCatch, v, ': 3')
}
function TryToCatch( value, expect ) {
try {
Eval( value )
} catch (e) { }
}