facing error while using sweet alerts in IE 11

2019-03-03 08:03发布

问题:

i am trying to use sweet alerts in my application its working fine in all browser except IE (version 11).Following errors are coming when i call swal() function.

1.Object doesn't support property or method 'defineProperty'.



2.   The value of the property 'swal' is null or undefined, not a Function object

first error is coming from sweetalert.min.js and second is coming from my script where i am calling swal function.