Greasy Fork is available in English.

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

快速下载 精简页面

< Feedback on 星耀云/飞猫云/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

جاۋاب قايتۇرۇش

جاۋاب قايتۇرۇش ئۈچۈن كىرىش.