Tryit Editor v1.8

Source Code:
<!DOCTYPE html> <html> <body> <p id="demo">Click the button to join two arrays.</p> <button onclick="myFunction()">Try it</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>
Result:
W3Schools.com - Try it yourself