201007 TIL

오늘의 진도

freeCodeCamp.org에서 Functional Programming 코스 진행중


어려웠던 점

Callbacks are the functions that are slipped or passed into another function to decide the invocation of that function. You may have seen them passed to other methods, for example in filter, the callback function tells JavaScript the criteria for how to filter an array.

Functions that can be assigned to a variable, passed into another function, or returned from another function just like any other normal value, are called first class functions. In JavaScript, all functions are first class functions.

The functions that take a function as an argument, or return a function as a return value are called higher order functions.

When the functions are passed in to another function or returned from another function, then those functions which gets passed in or returned can be called a lambda.

오…정말 하나도 이해 못했다 ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋ 이해했다고 생각하고 다음 문장 넘어가면 또 물음표 백만개 상태되고 넘어가면 또 이해안되고…일단 코드를 써보면 이해가 될 것 같긴 해서 진행중

slice랑 splice 몇 번을 썼는데도 헷갈려서 다시 한 번 정리! 이 분 포스트가 너무 깔끔하게 잘 정리되어 있어서 도움이 됐다.

태그:

카테고리:

업데이트: