Unexpected token => Uncaught ReferenceError: processRandomSelector is not defined

vivo Y66真机调试踩坑之

在这里插入图片描述

注释: Uncaught SyntaxError: Unexpected token =>
(program):1 Uncaught ReferenceError: processRandomSelector is not defined
couponDetailShare.html?productId=10&from=singlemessage:773 Object
https://ccapp.test.cibfintech.com/resource/html/share/kfc.jpg Failed to load resource: the server responded with a status of 404 (Not Found)

解决方案
出现以上问题第一步应该排除页面是否使用了es6语法,在手机端的某些手机系统(ios 9(含)以下,android 6.0(含)以下)不支持es6语法,需要借用babel工具转成es5语法。
第二步,这一步不常遇见,手机浏览器内核不支持。目前发现vivo系列的某些机型。这个将在另一篇文章里说明。
vivo系列某些机型的浏览器不支持Chrome调试
链接:https://editor.csdn.net/md/?articleId=104628183

发布了8 篇原创文章 · 获赞 0 · 访问量 192

猜你喜欢

转载自blog.csdn.net/StoneVivi/article/details/104385698