// splice(start,deleteCount,elementIntoArray1....) const array = ["월", "화", "수", "목", "금", "토", "일"]; const weekend = array.splice(5, 2); // weekend = 토,일 / array = 월,화,수,목,금,토 array...
Method - splice, sort에 대한 요약내용입니다.
자세한 내용은 아래에 원문링크를 확인해주시기 바랍니다.
원문링크 : Method - splice, sort