Синтаксическая ошибка Sweetalert в IE
SweetAlert- working fine in chrome and firefox, but not working in IE <pre> What I have tried: <pre> <a id="download" href="#">Click here to download</a> <pre><script> $(document).ready(function () { $("#download").click(function () { Swal.mixin({ input: 'email', confirmButtonText: 'Next →', showCancelButton: true, //progressSteps: [''] }).queue([ { text: 'Please enter Email-Id' } ]).then((result) => { <------------here ill get syntax error if (result.value) { Swal.fire({ title: 'All done!', html:'<pre><code><a href="Home/DownloadFile?username='+result.value+'">Click here to download</a></code>',
confirmButtonText: 'отмена'
});
}
});
});
});