Skip to content

Commit ddf708a

Browse files
[신규 번역] 숫자쳥 네번째 과제 번역 #1711 (#1715)
* [숫자형] 과제4 문제 제목 번역 * [숫자형] 과제4 문제 본문 번역 * [숫자형] 과제4 해답 번역 - 1 * [숫자형] 과제4 해답 번역 - 2 * [숫자형] 과제4 해답 번역 - 3 * [숫자형] 과제4 해답 번역 - 4 * [숫자형] 과제4 해답 번역 - 5
1 parent e400ec5 commit ddf708a

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
That's because `i` would never equal `10`.
1+
`i`는 절대 `10`이 될 수 없어서 무한 루프가 발생합니다.
22

3-
Run it to see the *real* values of `i`:
3+
코드를 실행해 실제 `i` 값을 확인해 봅시다.
44

55
```js run
66
let i = 0;
@@ -10,8 +10,8 @@ while (i < 11) {
1010
}
1111
```
1212

13-
None of them is exactly `10`.
13+
어떤 경우에도 `i``10`이 될 수 없습니다.
1414

15-
Such things happen because of the precision losses when adding fractions like `0.2`.
15+
이런 일이 발생하는 이유는 `0.2`와 같은 분수를 더할 때 정밀도 손실이 발생하기 때문입니다.
1616

17-
Conclusion: evade equality checks when working with decimal fractions.
17+
그러므로 소수나 분수를 대상으로 작업 할 땐 등호 비교를 피하세요.

Diff for: 1-js/05-data-types/02-number/4-endless-loop-error/task.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ importance: 4
22

33
---
44

5-
# An occasional infinite loop
5+
# 무한 루프
66

7-
This loop is infinite. It never ends. Why?
7+
아래 반복문은 무한대로 작동합니다. 왜 그럴까요?
88

99
```js
1010
let i = 0;

0 commit comments

Comments
 (0)