Replies: 4 comments
-
<모던 자바스크립트 Deep Dive>Q1. 메서드 내부의 중첩 함수나 콜백 함수의 this 바인딩을 메서드의 this 바인딩과 일치시키기 위한 방법은? <우아한 타입스크립트>Q1. 스크립트와 설정 파일을 활용하면 어떤 점이 좋은가요? |
Beta Was this translation helpful? Give feedback.
-
<모던 자바스크립트 Deep Dive>Q1. 렉시컬 스코프와 this 바인딩의 차이를 설명해주세요. <우아한 타입스크립트>Q1. 증분 컴파일에 대해 설명해주세요, |
Beta Was this translation helpful? Give feedback.
-
|
<모던 자바스크립트 Deep Dive> const person = {
name: 'Lee',
sayHello() {
console.log(`Hello, I'm ${this.name}`);
}
};
setTimeout(person.sayHello, 100);Q2. 메서드 내부의 중첩 함수나 콜백 함수에서 this가 달라지는 문제를 해결하기 위해 bind를 사용하는 방법과 화살표 함수를 사용하는 방법을 비교 설명해주세요. 두 방식 중 어떤 것을 더 선호하며, 그 이유는 무엇인가요? <우아한 타입스크립트> declare namespace NodeJS {
interface ProcessEnv {
readonly API_URL: string;
}
}
console.log(process.env.API_URL);여기서 API_URL이 자동완성 되는 이유는? |
Beta Was this translation helpful? Give feedback.
-
<모던 자바스크립트 Deep Dive>
<우아한 타입스크립트>
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
[19주차] 키워드 및 질문
[모던 자바스크립트 Deep Dive]
<22장 this>
[우아한 타입스크립트]
<12장 타입스크립트 프로젝트 관리>
Beta Was this translation helpful? Give feedback.
All reactions