Edit in JSFiddle

var hege = ["Cecilie", "Lone"];
var stale = ["Emil", "Tobias", "Linus"];
var children = hege.concat(stale); // 두 배열을 결합
document.write(children + "<br>"); // Cecilie,Lone,Emil,Tobias,Linus

var fruits = ["Banana", "Orange", "Lemon", "Apple", "Mango"];
var citrus = fruits.slice(1, 4); // 1요소 부터 4요소 앞까지를 새 배열로 반환
document.write(citrus + "<br>"); // Orange,Lemon,Apple

var color = ["red", "green", "blue", "yellow", "purple"];
color.splice(2, 1, "pink", "black"); // 2요소에서 부터 1개를 삭제(blue)하고 pink, black 삽입
document.write(color + "<br>"); // red,green,pink,black,yellow,purple