map
-
Array.prototype.map()의 세번째 파라미터DEV/Javascript 2021. 5. 3. 11:56
developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map Array.prototype.map() - JavaScript | MDN Array.prototype.map() The map() method creates a new array populated with the results of calling a provided function on every element in the calling array. map((currentValue) => { ... } ) map((currentValue, index) => { ... } ) map((currentValue, index, arr developer.mozilla..