Skip to content

Commit

Permalink
My idea
Browse files Browse the repository at this point in the history
  • Loading branch information
jhs committed Feb 6, 2011
1 parent e359f21 commit c7732db
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions tri.js
@@ -0,0 +1,16 @@
// My idea
tri({
"try": function() {
console.log('this = ' + this);
this_is_protected();
},
"catch": function(e) {
it_failed({"exception_was": e});
},
"else": function() {
it_worked();
},
"finally": function() {
this_always_runs();
}
})

0 comments on commit c7732db

Please sign in to comment.