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

7 lines
133 B
JavaScript
Raw Normal View History

alert(function() {
2010-07-29 04:51:35 +00:00
try {
2010-11-21 17:38:27 +00:00
return nonexistent / void 0;
2010-07-29 04:51:35 +00:00
} catch (error) {
return "And the error is ... " + error;
}
}());