Last active
July 13, 2021 16:22
-
-
Save Himura2la/5e1ea9b0f6fe596bf4024cb7f06d5460 to your computer and use it in GitHub Desktop.
Detect Internet Explorer with the code that Internet Explorer does not understand xD
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
['MSIE', 'Trident'].reduce((p, c) => p || (navigator.userAgent.indexOf(c) >= 0), false) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment