Created
January 6, 2012 08:26
-
-
Save psiborg/1569681 to your computer and use it in GitHub Desktop.
JS Try Block
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| try { | |
| } | |
| catch (ex) { | |
| console.error(ex); | |
| } | |
| finally { | |
| } | |
| function say (arg) { | |
| if (arg == null) { | |
| throw new Error("argument is missing or undefined"); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment