目标有一个字符串 var number = '100',我们要将它转换成Number 类型的100。 目前有三个选项:+, parseInt, Number 请测试哪个方法更快。 知识点学习使用benchmark 库 ...
確定! 回上一頁