Created
November 30, 2011 08:59
-
-
Save bjorne/1408470 to your computer and use it in GitHub Desktop.
Internet Explorer Gotcha
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
window.a = function() { | |
throw new Error("expected"); | |
}; | |
try { | |
window.a(); | |
} catch (ex) { | |
alert(ex.message); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment