4-1 반복문&함수(2)_이나래 - #16
Open
jerryko570 wants to merge 14 commits into
Hidden character warning
The head ref may contain hidden characters: "4-1-\ubc18\ubcf5\ubb38&\ud568\uc218(2)_\uc774\ub098\ub798"
Open
Conversation
Author
|
TDZ가 걸려 있는 let/const/함수표현식은 ReferenceError, var는 undefined, 함수 선언은 바로 사용 가능함(함수 전체가 호이스팅되서 그렇다고 함) |
Author
|
TDZ(일시적 사각지대)란? |
Contributor
|
이야기해보시죠 tdz 멘토링떄 같이 ㅎ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📚 학습 주제
📝 학습 내용 체크리스트
✅ 개념 요약
1.함수(function)
어떤 일을 이름 붙여 저장하고 필요할 때 함수()로 호출
1-2.함수의 기본 특징
1-3.매개변수(파라미터)&인수(아규먼트)
1-4.디폴트 값
1-5.반환 값
2.함수 표현식(function Expression)
함수 = 값 > 변수에 저장, 전달, 복사 가능
실행 도중에 만들어지는 함수
2-1.콜백함수
3.화살표 함수(Arrow Function)
🔍 모르는 개념 연구
정리하면, 선언문은 함수 전체이고 표현식은 변수 이름만 (값은 undefined)
📋 주요 학습 개념 설명/요약 (선택)
❓ 질문사항 및 토론 포인트
어떤 상황에서 각각 쓰이는지 궁금합니다.
📖 참고 자료 (선택)