数组方法之join

在数组元素之间插入一个符号,数组元素连同符号形成一个字符串。

 

数组元素是null或undefined:

 

 

 数组中有空位:

 

posted @ 2021-03-29 10:23  呈心者  阅读(863)  评论(0编辑  收藏  举报