ConsoleSystem
All Error Warning Info Log Debug
Wechat Lib:2.9.3, 2019.11.8 14:51:39
gameThirdScriptError
SyntaxError
at line:42,column:86525,SyntaxError: Unexpected token '='. Expected a ')' or a ',' after a parameter declaration. Stack: (native code)
at evaluateScriptFile (WAGame.js:1:86525)
at value (WAGame.js:1:391577)
at value (WAGame.js:1:390725)
at (WAGame.js:1:396729)
at (WAGame.js:1:396732)
at c (WAGame.js:1:388921)
at (WAGame.js:1:396625)
at y (WAGame.js:1:3624)
at b (WAGame.js:1:3874)
at v (WAGame.js:1:396476)
at (WAGame.js:1:1267950)
at global code (WAGame.js:1:1267955)
e@https://res.servicewechat.com/weapp/debug/wx7d4b6849a3956e82/2/:27576:36655
value@https://res.servicewechat.com/weapp/debug/wx7d4b6849a3956e82/2/:27576:32222
value@https://res.servicewechat.com/weapp/debug/wx7d4b6849a3956e82/2/:27576:31467
https://res.servicewechat.com/weapp/debug/wx7d4b6849a3956e82/2/:27576:16387
https://res.servicewechat.com/weapp/debug/wx7d4b6849a3956e82/2/:27576:19197
forEach@[native code]
_log@https://res.servicewechat.com/weapp/debug/wx7d4b6849a3956e82/2/:27576:19087
想请教一下这个错误一般怎么处理呢
ES语法问题,请修改使用,或者勾选ES6转ES5。