JS 强制转换速度

DebugMi 发布于 2016-09-13编辑于 2016-10-09阅读:1014

亲测,Number(foo)foo * 1 这种强制转换速度快一倍多,String(foo)foo + '' 同理。

0