jashkenas--coffeescript/documentation/js/expressions_try.js

10 lines
181 B
JavaScript

(function(){
alert((function() {
try {
return nonexistent / undefined;
} catch (error) {
return "And the error is ... " + error;
}
}).call(this));
})();