Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

My idea

  • Loading branch information...
commit c7732db305b0fedb5a8359718a81e280337ee8c9 1 parent e359f21
@jhs authored
Showing with 16 additions and 0 deletions.
  1. +16 −0 tri.js
View
16 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();
+ }
+})
Please sign in to comment.
Something went wrong with that request. Please try again.