I have my project built with pure javascript and HTML and it gives an error to IE11.
The problematic line is as below and it is the js file used in HTML with a script