JavaScript 参考手册
JavaScript concat() 方法
合并三个数组的
源代码:
点击运行 »
<script> var hege = ["Cecilie", "Lone"]; var stale = ["Emil", "Tobias", "Linus"]; var kai = ["Robin"]; var children = hege.concat(stale, kai); document.write(children); </script>
运行结果:
点击运行 »