📜  javascript get if IE11 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:55.310000             🧑  作者: Mango

代码示例1
var isIE11 = !!window.MSInputMethodContext && !!document.documentMode;
  // true on IE11
  // false on Edge and other IEs/browsers.