Today I Lived/Codebrick - 2021

[TIL] 2021.12.10 - Array

장 상 현 2021. 12. 10.

오늘은?

 

Array deep dive

 

회고

 

array in array in array in array in array in array

 

왜 배열이 이렇게 되어 있지?

 

덕분에 신나게 잘 놀았다!!! ( 복습했다 -> 아주 정확하게는 모르던 개념을 다시 잡았다 -> 이래서 현업에서 굴러야 하는구나 )

 

의도가 있는 것인지, 서버에서 오는 값부터 뜯어고쳐도 되는지, 월요일에 물어본다!!!

 

 

Array.prototype.map() - JavaScript | MDN

The map() method creates a new array populated with the results of calling a provided function on every element in the calling array.

developer.mozilla.org

 

Spread syntax (...) - JavaScript | MDN

Spread syntax (...) allows an iterable such as an array expression or string to be expanded in places where zero or more arguments (for function calls) or elements (for array literals) are expected, or an object expression to be expanded in places where ze

developer.mozilla.org

 

댓글