JavaScript critical error at line 5, column 9 in (unknown source location)

纵饮孤独 提交于 2019-11-30 15:58:36

Your browser is apparently running an add-on that injects scripts into loaded pages, and these scripts cause problems with IE11 (and 10).

You can configure Visual Studio to run IE in safe mode by adding an iexplore -extoff entry to the Browse With list and setting it as default, as explained here.

That said, I would recommend investigating which add-on is responsible for this situation, as it may have other adverse effects to your web usage (and to your privacy), and you may want to remove it if at all possible.

You are on MSIEv11. Just a guess, but you might need to turn Compatibility Mode ON. [link]http://windows.microsoft.com/en-us/internet-explorer/use-compatibility-view#ie=ie-11
You set that your page/website should have Compatibility View. Tap or click the Tools button Tools, and then tap or click Compatibility View settings. Under Add this website, enter the URL of the site you want to add to the list, and then tap or click Add.

Coskun Ozogul

I just want to share my experience, in my case, I was using lambda expressions to find some elements in a list like

myList.find(ro => ro.field1 == field1); 

And internet explorer doesn't support lambda expressions.

I created some functions in order to find items.

It works.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!