Skip to content

Pull Request #42

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
May 18, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
121 changes: 60 additions & 61 deletions 1-js/01-getting-started/1-intro/article.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion 1-js/01-getting-started/index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# 소개

자바스크립트 언어란 무엇인지 그리고 개발 환경에 대해 소개합니다.
자바스크립트 언어와 개발 환경에 대해 소개합니다.
2 changes: 1 addition & 1 deletion 1-js/03-code-quality/03-comments/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ function addJuice(container) {
설명적 주석은 대부분 좋지 않습니다. 그럼 좋은 주석은 어떤 걸까요?

아키텍처를 설명하는 주석
: 고차원에서 바라본 컴포넌트 개요와 컴포넌트 간의 상호작용을 설명하고, 다양한 상황에서의 컨트롤 플로우를 설명하는 주석이 좋습니다. 간단히 말해서 코드의 조감도 같은 주석 말이죠.
: 고차원에서 바라본 컴포넌트 개요와 컴포넌트 간의 상호작용을 설명하고, 다양한 상황에서의 제어 흐름를 설명하는 주석이 좋습니다. 간단히 말해서 코드의 조감도 같은 주석 말이죠.
고차원 수준의 아키텍처 다이어그램을 그리는 데 쓰이는 언어인 [UML](http://wikipedia.org/wiki/Unified_Modeling_Language)이라는 게 있습니다. 시간을 내어 공부할 가치가 있습니다.

함수의 용례를 문서화 해주는 주석
Expand Down
174 changes: 87 additions & 87 deletions 1-js/05-data-types/09-destructuring-assignment/article.md

Large diffs are not rendered by default.

222 changes: 109 additions & 113 deletions 1-js/06-advanced-functions/01-recursion/article.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,27 @@ importance: 5

---

# What will setTimeout show?
# setTimeout 은 무엇을 보여줄까요?

In the code below there's a `setTimeout` call scheduled, then a heavy calculation is run, that takes more than 100ms to finish.
아래의 코드에는 `setTimeout` 호출이 스케줄되어 있고 무거운 계산이 실행됩니다. 끝내기 위해 100ms 이상 걸립니다.

When will the scheduled function run?
예정된 기능은 언제 실행될까요?

1. After the loop.
2. Before the loop.
3. In the beginning of the loop.
1. 반복문 후에.
2. 반복문 전에.
3. 반복문이 시작할 때.


What is `alert` going to show?
`alert`은 무엇을 보여줄까요?

```js
let i = 0;

setTimeout(() => alert(i), 100); // ?

// assume that the time to execute this function is >100ms
// 이 함수를 실행하는데 걸리는 시간이 100ms보다 크다고 가정합니다
for(let j = 0; j < 100000000; j++) {
i++;
}
```

252 changes: 126 additions & 126 deletions 1-js/06-advanced-functions/08-settimeout-setinterval/article.md

Large diffs are not rendered by default.