toString()方法的使用

//2.toString() //转字符串。 //进制转换。num.toString(2/8/10/16) //最好的数据类型的检查方法。web console.log(Object.prototype.toString.call('abc').slice(8,-1).toLowerCase()); console.log(Object.prototype.toString.call(5
相关文章
相关标签/搜索