Replies: 4 comments
-
|
<모던 자바스크립트>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
|
<모던 자바스크립트> 키워드 질문 var x = 1;
function foo() { var x = 10; bar();}
function bar() { console.log(x); }
foo(); // 1
bar(); // 1Q1. 둘다 1이 나오는 이유가 무엇인가요? (상위 스코프 결정 방식) |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
<모던 자바스크립트 딥다이브> Q. 다음의 예시에서 각각의 x 변수의 스코프를 설명해주세요. (변수 X의 참조 가능 범위) fuction foo() { foo(); console.log(x); |
Beta Was this translation helpful? Give feedback.
0 replies
-
[모던 자바스크립트 Deep Dive]키워드
질문
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
[6주차 -1] 키워드 및 질문
[모던 자바스크립트 Deep Dive]
<13장 스코프>
Beta Was this translation helpful? Give feedback.
All reactions