一直不会,今天看到了,大牛亚利告诉我的:
http://interglacial.com/javascript_spec/a-11.html
里说:
11.4.6 Unary + Operator
The unary + operator converts its operand to Number type.
The production UnaryExpression : + UnaryExpression is evaluated as follows:
一直不会,今天看到了,大牛亚利告诉我的:
http://interglacial.com/javascript_spec/a-11.html
里说:
11.4.6 Unary + Operator
The unary + operator converts its operand to Number type.
The production UnaryExpression : + UnaryExpression is evaluated as follows:
转载于:https://www.cnblogs.com/fanweixiao/archive/2010/03/26/1697208.html