| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- dropout
- 회고록
- Overfitting
- pytorch
- object detection
- 우선 순위 큐
- back propagation
- c++
- 크루스칼
- dfs
- 가끔은_말로
- 자바스크립트
- lazy propagation
- 너비 우선 탐색
- 세그먼트 트리
- DP
- NEXT
- 분할 정복
- BFS
- 플로이드 와샬
- 2023
- 다익스트라
- 조합론
- 미래는_현재와_과거로
- 가끔은 말로
- 알고리즘
- 이분 탐색
- 백트래킹
- 문자열
- tensorflow
Archives
- Today
- Total
목록first-class function (1)
Doby's Lab
자바스크립트 공부를 하다가 내 눈에는 이상한 점을 발견하여 포스팅을 하게 되었다. const print = function () { console.log('print'); }; print(); 다음 코드를 실행하면 아무 문제없을 것이다. 허나, print(); const print = function () { console.log('print'); }; 이 코드는 문제를 일으킨다. [Uncaught ReferenceError: Cannot access 'print' before initialization] 해당 코드가 자바스크립트 엔진에서 돌아가는 원리는 다음과 같다. //const는 재할당할 수 없지만 엔진의 설명을 위해 const print; //print라는 변수에 아무 것도 선언되지 않았다. pr..
카테고리 없음
2021. 7. 25. 14:22