出现missing ( before function parameters. (63133c6d10a05163c19ac990.js#2) missing ( before function parameters. #60
Unanswered
hhhllll888
asked this question in
问题
Replies: 5 comments 3 replies
-
我今天也遇到这种情况了,大概率是标准不兼容问题,我的原因是使用了默认参数,hamibot不认 |
Beta Was this translation helpful? Give feedback.
1 reply
-
emm,ES6标准也有错?js总不是按你的标准来吧
…------------------ 原始邮件 ------------------
发件人: "hamibot/hamibot" ***@***.***>;
发送时间: 2022年9月9日(星期五) 上午10:32
***@***.***>;
***@***.******@***.***>;
主题: Re: [hamibot/hamibot] 出现missing ( before function parameters. (63133c6d10a05163c19ac990.js#2) missing ( before function parameters. (Discussion #60)
纯粹就是代码有错
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
@mingbook |
Beta Was this translation helpful? Give feedback.
0 replies
-
非常感谢,不过问题已经解决了
…------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2022年10月10日(星期一) 中午11:55
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [hamibot/hamibot] 出现missing ( before function parameters. (63133c6d10a05163c19ac990.js#2) missing ( before function parameters. (Discussion #60)
@mingbook
目前hamibot使用的JS引擎只支持到ES5和部分ES6语法。
如果一定要使用不支持的新语法的话可以选择webpack编译为ES5后再使用。如果觉得比较麻烦,也可以试试我们提供的 项目模板 。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
只有脚本市场里的代码运行正常,所有自己写的代码都不行
Beta Was this translation helpful? Give feedback.
All reactions