Detect Internet Explorer browser
JavaScript version
const isIE = !!document.documentMode;
TypeScript version
const isIE = !!(document as any).documentMode;
JavaScript version
const isIE = !!document.documentMode;
TypeScript version
const isIE = !!(document as any).documentMode;