x
 
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Wfuyu教程(wfuyu.com)</title>
</head>
<body>
<p id="demo">点击按钮合并数组。</p>
<button onclick="myFunction()">点我</button>
<script>
function myFunction(){
    var hege = ["Cecilie", "Lone"];
    var stale = ["Emil", "Tobias", "Linus"];
    var children = hege.concat(stale);
    var x=document.getElementById("demo");
    x.innerHTML=children;
}
</script>
</body>
</html>