Greasy Fork 支持简体中文。

星耀云/飞猫云/kufile/rosefile/expfile/城通网盘破解优化

快速下载 精简页面

< 腳本星耀云/飞猫云/kufile/rosefile/expfile/城通网盘破解优化的回應

提問/評論

§
發表於:2024-07-19
編輯:2024-07-19

if 语句判断可以通过 a > 0 && a < 10a > 0 || b > 1 书写,没必要嵌套这么多层。&& 是需同时要满足所有判断才会执行里面的语句,|| 是只要有一个判断满足就会执行。

你可参考:
https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Operators/Logical_AND
https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Operators/Logical_OR

發表回覆

登入以回復