오늘은 Javascript에서 자주 쓰이는 메소드에 대해서 알아보도록 하겠다. > filter filter() 메소드는 주어진 함수의 테스트를 통과하는 모든 요소를 모아 새로운 배열로 반환한다. [구문] arr.filter(callback(element[, index[, array]])[, thisArg]) -매개변수 callback: 각 요소를 ...