JavaScript mendeteksi penjelajah internet
// Internet Explorer 6-11
const isIE = !!document.documentMode;
Batman
// Internet Explorer 6-11
const isIE = !!document.documentMode;
var isIE = document.documentMode ? true : false; // simple as that