其中Array方法对象定义了3个方法,可以把数组转换为字符串,如表所示。 ... 串“1,2,3,4,5,6,7,8,9,0”; console.log(typeof s); //返回字符串string,说明是字符串类型.
確定! 回上一頁