Eval函数执行会导致内部错误 [英] Eval function execution leads to internal error

查看:172
本文介绍了Eval函数执行会导致内部错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用IE Edge浏览器分析我们的应用程序,同时这样做我发现了一个奇怪的行为。执行eval函数会导致以下错误。
甚至尝试了类似的样本:

I am doing analysis of our application with IE Edge browser, while doing so I found a strange behaviour. Execution of eval function leads to the below error. Even tried sample one like:

eval("2");

错误:
SCRIPT51:内部错误

Error: SCRIPT51: Internal error

请帮我解决这个问题,在其他浏览器中我不会遇到这个问题。

Please help me overcome this problem, in other browsers I am not facing this issue.

推荐答案

我害怕这似乎是IE Edge的浏览器问题。
除了摆脱所有 eval 电话外,你无法解决这个问题。

I'm afraid that this seems to be a browser issue of IE Edge. You can't do anything to work around this issue except of getting rid of all your eval calls.

由于您的应用程序使用了许多 eval 函数(这是一个坏主意),摆脱它们可能不是一种选择。你必须等到微软修复它的浏览器。

Since your application uses many eval functions (which is a bad idea), getting rid of them might be not an option. You'll have to wait until Microsoft fixes it's browser.

然而,由于 eval 仍被许多网页使用,我确信这个bug会得到高优先级,并且可能会在官方发布之前修复。

However, as eval is still used by many webpages, I'm sure that the bug will get a high priority and might be fixed before official release.

这篇关于Eval函数执行会导致内部错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆