In JavaScript, there are some meaningless variable/value, which means, in logic expression, those meaningless variables will return false for ever.
Those meaningless variables include: NULL, 0, false, NAN, “”. and also the special “undefined”
本文介绍了JavaScript中被视为逻辑表达式中永远为假的无效变量,包括NULL、0、false、NAN、空字符串及特殊值undefined,并解释了它们在编程实践中的意义。
In JavaScript, there are some meaningless variable/value, which means, in logic expression, those meaningless variables will return false for ever.
Those meaningless variables include: NULL, 0, false, NAN, “”. and also the special “undefined”
3万+

被折叠的 条评论
为什么被折叠?