Comments (4)
15장 질문
- let, const 키워드에 대해 var 키워드와의 차이점을 중심으로 설명해주세요
- 함수스코프와 블록스코프의 차이점을 말해주세요
from javascript-study.
14장 전역 변수의 문제점
1번. 다음 코드에서 (1)과 (2)의 출력 값은?
var a = 'global';
function foo(){
var a = 'local';
console.log(a); // --- (1)
}
foo();
console.log(a); // ---(2)
2번. 다음 코드에서 (1)과 (2)의 출력 값은?
var a = 'global';
function foo(){
a = 'local';
console.log(a); // --- (1)
}
foo();
console.log(a); // --- (2)
3번. 전역 변수를 사용했을 때 발생할 수 있는 문제점에 대해서 말씀해주세요.
from javascript-study.
4장 질문
- 변수라는 메커니즘은 왜 존재하는지 설명해주세요
- 변수에 값을 재할당 할 때 메모리 공간에서 일어나는 상황을 설명해주세요.
- 호이스팅이 무엇인지 설명해주세요
from javascript-study.
13장 질문
- 스코프 체인과 실행 컨텍스트, 렉시컬 환경에 대해 설명해주세요.
- 동적 스코프와 렉시컬 스코프의 차이점에 대해 설명해주세요. 자바스크립트는 어떤 스코프를 따르나요? 상위 스코프를 결정하는 기준은 무엇인가요?
from javascript-study.
Related Issues (9)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from javascript-study.