Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Check javascript compatibility with Internet explorer

I have some javascript code that does not run in IE 11. Is there a quick way to check where the incompatibly is other than going through the code line by line to see what commands and statements are supported by that version of Internet Explorer?

like image 618
takinola Avatar asked Nov 14 '17 21:11

takinola


2 Answers

I don't remember an "online code checking", but the most similar maybe are this two websites, can I use? and for Ecmascript.

Hope it helps!

like image 103
Joan Albert Avatar answered Oct 22 '22 21:10

Joan Albert


Solved the issue by using JSHint (installed as package on Sublime Text 3) with option "esversion" set to 3 (compatibility with ECMAScript 3). This got me 90% of the way there and I did the rest manually.

like image 1
takinola Avatar answered Oct 22 '22 19:10

takinola