任何人都可以解释这种奇怪的javascript行为吗?
+
// Rightfully gets a syntax error, because there are no operands
+ +
// Same as above
+ + ''
// Interpreted as 0
typeof(+ + '')
// Interpreted as "number"
+ + '' === 0
// Interpreted as true
换句话说,(+ +'')计算为零。 1)这在句法上是如何允许的? 2)为什么计算到零?