["8","9","10"].map(parseInt) what&whay?

154 阅读1分钟

["8","9","10"].map(parseInt) // 竟然输出的是[ 8, NaN, 2 ]