作者:散場偂爱的擁菢_257 | 来源:互联网 | 2023-08-13 15:17
If I have IF statement like below:
如果我有如下IF语句:
If currentdate >= rating1 then
status = 2
ELSEIF currentdate >= rating2 then
daylight_savings_status = 0
ELSEIF currentdate >= rating3 then
daylight_savings_status = 1
ELSE
daylight_savings_status = 1
End If
Is there something like in Javascript
是否有类似Javascript的东西
console.log('test');
that I can test on the which IF statement is truth of the statement?
我可以测试哪个IF语句是声明的真实性?
This way I be able to test it on the firebug(firefox).
这样我就能在firebug(firefox)上测试它。
1 个解决方案