我想知道在进行相等检查时是否应该总是使用"==="(严格相等)...有没有什么时候最好使用"=="(非严格相等)?特别应该:
if (param1 == null || param1.length == 0)
是
if (param1 === null || param1.length === 0)
像字符串这样的东西怎么样? param1 == "This is a String."
param1 == "This is a String."
actionscript equality strict
actionscript ×1
equality ×1
strict ×1