在
JavaScript中,为什么:
new String * 1 <- 0@H_502_4@究竟是什么让它返回0,为什么以下等于NaN?
function Foo() { this.bar = 0; } new Foo * 5; <- NaN
new String * 1 <- 0@H_502_4@究竟是什么让它返回0,为什么以下等于NaN?
function Foo() { this.bar = 0; } new Foo * 5; <- NaN