Board logo

标题: 合并数组 [打印本页]

作者: fangzhen    时间: 2008-11-12 13:24     标题: 合并数组

<script language="JavaScript">
var a=new Array("1","2","3");
var b=new Array("4","5","6");
var c=a.concat(a,b);
alert(c);
</script>




欢迎光临 PHP开发笔记 (http://phpvi.com/) Powered by Discuz! 6.1.0