목차3.7 filter 만들기3.8 reduce 만들기3.9 flat 분석하기3.10 promise, awaited 타입 분석하기3.11 bind 분석하기 3.7 filter 만들기filter 메소드 : 배열의 각 요소를 검사하여 주어진 조건을 만족하는 요소들로만 새로운 배열을 생성하는 메소드 array.filter(callback(element, index, array), thisArg?) callback: 각 요소에 대해 실행할 함수로, 조건을 검사하는 로직을 포함element: 배열의 현재 요소index (선택적): 현재 요소의 인덱스array (선택적): filter 메서드를 호출한 배열thisArg (선택적): callback 함수 내부에서 this로 사용할 값불리언 반환: callback 함수..