I have a conditional when I execute this On IE v11 event the first block is true is not execute because I have error on my second one, My question is how I can void this behavior I Mean in this case I want to show the alert and don't execute nothing more if I am IE v11.
if (window.navigator.userAgent.indexOf('Trident/') > 0) {
alert('this browser is not supported');
return
} else {
var se = `some here`; // <- this is not supported on EI v11
console.log('here',se);
}