구분array.map(callback(currentValue, index, array), thisArg)callback() : 배열 각 요소에 대히 호출되는 함수 - currentValue: 배열의 현재 처리 중인 요소. - index (선택): 현재 요소의 인덱스. - array (선택): map()을 호출한 원본 배열.thisArg : 콜백 함수 내부에서 this로 사용할 값. 생략하면 기본적으로 undefined입니다. Case 1. 2를 곱한 배열을 Returnconst numbers = [1, 2, 3, 4]; const doubled = numbers.map(num => num * 2); console.log(doubled); // [2, 4, 6, 8] Case 2. index를 활용한..