如何解决如何解决此错误“未捕获的SyntaxError:标识符'docUrl'已被声明”?
长时间工作后,昨晚我在Chrome浏览器的Inspect控制台面板上开始看到此错误:
ch-content-script.js:1中的“未捕获的SyntaxError:标识符'docUrl'已经声明”
/*************************************************************************
* AdobE CONFIDENTIAL
* ___________________
*
* copyright 2015 Adobe Systems Incorporated
* All Rights Reserved.
*
* NOTICE: All information contained herein is,and remains
* the property of Adobe Systems Incorporated and its suppliers,* if any. The intellectual and technical concepts contained
* herein are proprietary to Adobe Systems Incorporated and its
* suppliers and are protected by all applicable intellectual property laws,* including Trade secret and or copyright laws.
* dissemination of this information or reproduction of this material
* is strictly forbidden unless prior written permission is obtained
* from Adobe Systems Incorporated.
**************************************************************************/
var $iframe,... const docUrl=document.location.href; ...
很显然,常量docURL已经在此声明之前全局声明,或者在同一脚本行中再次声明。
该脚本似乎来自Adobe。
我没有在自己的代码中使用此标识符,并且没有在我的Web应用程序中包含带有
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。