javascript 中的 || 和 && 操作符
摘要:
首先上ECMA-262 5th中的说明:The production LogicalANDExpression : LogicalANDExpression && BitwiseORExpression is evaluated as follows:1. Let lref be the result of evaluating LogicalANDExpression.2. Let lval be GetValue(lref).3. If ToBoolean(lval) is false, return lval.4. Let rref be the result of ev 阅读全文
posted @ 2012-03-09 14:29 windk 阅读(243) 评论(0) 推荐(0)
浙公网安备 33010602011771号