Skip to content

Commit 85cf3c1

Browse files
committed
Reset README.md from original & Translate the questions 41-43 to Korean
1 parent a6a8479 commit 85cf3c1

File tree

2 files changed

+28
-27
lines changed

2 files changed

+28
-27
lines changed

README-ko_KR.md

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,15 @@ JavaScript 에 관한 객관식 문제를 [Instagram](https://www.instagram.com/
77
정답은 질문 아래 접힌 부분에 있어요, 그냥 클릭하면 펼칠 수 있어요. 행운을 빌어요 :heart:
88

99
[中文版本](./README-zh_CN.md)
10+
[Versión en español](./README-ES.md)
11+
[日本語](./README-ja_JA.md)
12+
[한국어](./README-ko_KR.md)
1013
[Русский](./README_ru-RU.md)
1114
[Western Balkan](./README-bs_BS.md)
1215
[Deutsch](./README-de_DE.md)
1316
[Tiếng Việt](./README-vi.md)
14-
[日本語](./README-ja_JA.md)
1517
[Українська мова](./README-ua_UA.md)
16-
[한국어](./README-ko_KR.md)
18+
[Português Brasil](./README_pt_BR.md)
1719

1820
---
1921

@@ -1247,41 +1249,41 @@ JavaScript는 원시형과 객체만 가지고 있어요.
12471249

12481250
#### 정답: B
12491251

1250-
`null` is falsy. `!null` returns `true`. `!true` returns `false`.
1252+
`null`은 거짓 같은 값이에요. `!null``true`를 리턴해요. `!true``false`를 리턴해요.
12511253

1252-
`""` is falsy. `!""` returns `true`. `!true` returns `false`.
1254+
`""` 은 거짓 같은 값이에요. `!""``true`를 리턴해요. `!true``false`를 리턴해요.
12531255

1254-
`1` is truthy. `!1` returns `false`. `!false` returns `true`.
1256+
`1`은 참 같은 값이에요. `!1``false`를 리턴해요. `!false``true`를 리턴해요.
12551257

12561258
</p>
12571259
</details>
12581260

12591261
---
12601262

1261-
###### 42. What does the `setInterval` method return in the browser?
1263+
###### 42. `setInterval` 메소드는 브라우저에게 무엇을 리턴 할까요?
12621264

12631265
```javascript
12641266
setInterval(() => console.log("Hi"), 1000);
12651267
```
12661268

1267-
- A: a unique id
1268-
- B: the amount of milliseconds specified
1269-
- C: the passed function
1269+
- A: 유니크한 id
1270+
- B: 지정된 밀리초
1271+
- C: 통과된 함수
12701272
- D: `undefined`
12711273

12721274
<details><summary><b>정답</b></summary>
12731275
<p>
12741276

12751277
#### 정답: A
12761278

1277-
It returns a unique id. This id can be used to clear that interval with the `clearInterval()` function.
1279+
이것은 유니크한 id를 리턴해요. 이 id는 `clearInterval()` 함수로 간격을 없애기 위해 사용 될 수 있어요.
12781280

12791281
</p>
12801282
</details>
12811283

12821284
---
12831285

1284-
###### 43. What does this return?
1286+
###### 43. 이것은 무엇을 리턴할까요?
12851287

12861288
```javascript
12871289
[..."Lydia"];
@@ -1297,7 +1299,7 @@ It returns a unique id. This id can be used to clear that interval with the `cle
12971299

12981300
#### 정답: A
12991301

1300-
A string is an iterable. The spread operator maps every character of an iterable to one element.
1302+
문자열은 반복 가능한 객체에요. 스프레드 연산자는 반복 가능한 객체의 모든 문자를 1개의 요소로 매핑해요.
13011303

13021304
</p>
13031305
</details>
@@ -1339,7 +1341,7 @@ Then, we invoke the function again with the `next()` method. It starts to contin
13391341

13401342
---
13411343

1342-
###### 45. What does this return?
1344+
###### 45. 이것은 무엇을 리턴할까요?
13431345

13441346
```javascript
13451347
const firstPromise = new Promise((res, rej) => {
@@ -1363,7 +1365,7 @@ Promise.race([firstPromise, secondPromise]).then(res => console.log(res));
13631365

13641366
#### 정답: B
13651367

1366-
When we pass multiple promises to the `Promice.race` method, it resolves/rejects the _first_ promise that resolves/rejects. To the `setTimeout` method, we pass a timer: 500ms for the first promise (`firstPromise`), and 100ms for the second promise (`secondPromise`). This means that the `secondPromise` resolves first with the value of `'two'`. `res` now holds the value of `'two'`, which gets logged.
1368+
When we pass multiple promises to the `Promise.race` method, it resolves/rejects the _first_ promise that resolves/rejects. To the `setTimeout` method, we pass a timer: 500ms for the first promise (`firstPromise`), and 100ms for the second promise (`secondPromise`). This means that the `secondPromise` resolves first with the value of `'two'`. `res` now holds the value of `'two'`, which gets logged.
13671369

13681370
</p>
13691371
</details>

README.md

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,16 @@ From basic to advanced: test how well you know JavaScript, refresh your knowledg
77
The answers are in the collapsed sections below the questions, simply click on them to expand it. Good luck :heart:
88

99
List of available languages:
10-
11-
- [中文版本](./README-zh_CN.md)
12-
- [Versión en español](./README-ES.md)
13-
- [日本語](./README-ja_JA.md)
14-
- [한국어](./README-ko_KR.md)
15-
- [Русский](./README_ru-RU.md)
16-
- [Western Balkan](./README-bs_BS.md)
17-
- [Deutsch](./README-de_DE.md)
18-
- [Tiếng Việt](./README-vi.md)
19-
- [Українська мова](./README-ua_UA.md)
20-
- [Português Brasil](./README_pt_BR.md)
10+
* [中文版本](./README-zh_CN.md)
11+
* [Versión en español](./README-ES.md)
12+
* [日本語](./README-ja_JA.md)
13+
* [한국어](./README-ko_KR.md)
14+
* [Русский](./README_ru-RU.md)
15+
* [Western Balkan](./README-bs_BS.md)
16+
* [Deutsch](./README-de_DE.md)
17+
* [Tiếng Việt](./README-vi.md)
18+
* [Українська мова](./README-ua_UA.md)
19+
* [Português Brasil](./README_pt_BR.md)
2120

2221
---
2322

@@ -180,6 +179,7 @@ However, with dot notation, this doesn't happen. `mouse` does not have a key cal
180179

181180
---
182181

182+
183183
###### 6. What's the output?
184184

185185
```javascript
@@ -1041,7 +1041,6 @@ console.log(typeof sayHi());
10411041
The `sayHi` function returns the returned value of the immediately invoked function (IIFE). This function returned `0`, which is type `"number"`.
10421042

10431043
FYI: there are only 7 built-in types: `null`, `undefined`, `boolean`, `number`, `string`, `object`, and `symbol`. `"function"` is not a type, since functions are objects, it's of type `"object"`.
1044-
10451044
</p>
10461045
</details>
10471046

@@ -1656,4 +1655,4 @@ Then, we declare a variable `x` with the value of `y`, which is `10`. Variables
16561655
However, we created a global variable `y` when setting `y` equal to `10`. This value is accessible anywhere in our code. `y` is defined, and holds a value of type `"number"`. `console.log(typeof y)` returns `"number"`.
16571656

16581657
</p>
1659-
</details>
1658+
</details>

0 commit comments

Comments
 (0)