2012-02-06 14:09:01 -05:00

2 lines
96 B
JavaScript

function bar(a){try{foo()}catch(b){alert("Exception caught (foo not defined)")}alert(a)}bar(10)