-
String 有个 trim 函数,用来删除 String 左右两边的空格
-
Number.toFixed(n) 获取 n 位小数的 num
-
$ npm install -g cnpm --registry=https://registry.npm.taobao.org # 安装 cnpm
String 有个 trim 函数,用来删除 String 左右两边的空格
Number.toFixed(n) 获取 n 位小数的 num
$ npm install -g cnpm --registry=https://registry.npm.taobao.org # 安装 cnpm
本文标题:JavaScript 的细碎知识点
本文链接:https://www.haomeiwen.com/subject/mypxattx.html
网友评论