Created
September 27, 2013 14:04
-
-
Save orklann/6729083 to your computer and use it in GitHub Desktop.
IE Detection in Javascript
This file contains 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
<script type='text/javascript'> | |
var ie = !-[1,]; | |
alert(ie); // true for ie | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment