TA贡献15条经验 获得超12个赞
PHP:
echo implode('|',$arr);
JS:
alert($arr.join('|'));
TA贡献1条经验 获得超0个赞
var arr2 = ["张三","李四","王五","赵六"];
alert(arr2.join("|"));
举报