📜 ⬆️ ⬇️

The shortest way to identify Internet Explorer in JavaScript

Dean Edwards came up with one of the shortest and most concise ways to define Internet Explorer in JavaScript:
var isMSIE = / * @ cc_on! @ * / false;

see Conditional Compilation of JavaScript in IE

')

Source: https://habr.com/ru/post/6355/


All Articles