<script type="text/jscript">
var arr=["I","am","a","student","."];
</script>
怎么使用jion()使其输出形式为下面的两种方式:
1. I am a student .
2. Iamastudent.
arr.join(" ");
arr.join("");
arr.join(" ");
arr.join("");
这个方法对于字符串有用,但数组不行,不能输出内容啊
arr.jion(" ");
arr.jion("");