JSFiddle - React, Tailwind, and code Playground

by manoj_antony32

JavaScript

if (/MSIE (\d+\.\d+);/.test(navigator.userAgent) || navigator.userAgent.indexOf("Trident/") > -1 ){ 
console.log('It is IE browser')
 // do stuff with ie-users
} else {
console.log('It is Non IE browser')
}