2018年10月16日

toLocaleString

摘要: let arr = ['12sf','sadfasf','2323dsdf']; arr.toLocaleString(); 返回结果是字符串。 '12sf','sadfasf','2323dsdf' 首先调用每个数组元素的 toLocaleString() 方法,然后使用地区特定的分隔符把生成的字符串连接起来,形成一个字符串。 阅读全文

posted @ 2018-10-16 14:54 _jackie 阅读(101) 评论(0) 推荐(0) 编辑

导航