Skip to content

Commit 5e9c2b3

Browse files
authored
What is JavaScript?까지 번역함 (#131)
* What is JavaScript?까지 번역함 * 리뷰에 따라 내용을 수정함
1 parent 5a270b0 commit 5e9c2b3

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

pages/tutorials/ts-for-the-new-programmer.md

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -5,50 +5,50 @@ permalink: /docs/handbook/typescript-from-scratch.html
55
oneline: Learn TypeScript from scratch
66
---
77

8-
Congratulations on choosing TypeScript as one of your first languages — you're already making good decisions!
8+
첫 번째 언어로 TypeScript를 고른것을 축하드립니다 - 정말로 좋은 결정입니다!
99

10-
You've probably already heard that TypeScript is a "flavor" or "variant" of JavaScript.
11-
The relationship between TypeScript (TS) and JavaScript (JS) is rather unique among modern programming languages, so learning more about this relationship will help you understand how TypeScript adds to JavaScript.
10+
Typescript가 Javascript의 "기호(flavor)"나 "변형(variant)"이라는 것을 들어봤을 겁니다.
11+
TypeScript(TS)JavaScript(JS)의 관계는 현대 프로그래밍 언어에서 꽤 독특한 관계이니, 이 관계를 더 배우는 것은 어떻게 TypeScript를 JavaScript에 추가할지에 도움이 될 것입니다.
1212

13-
## What is JavaScript? A Brief History
13+
## JavaScript의 짧은 역사 (What is JavaScript? A Brief History)
1414

15-
JavaScript (also known as ECMAScript) started its life as a simple scripting language for browsers.
16-
At the time it was invented, it was expected to be used for short snippets of code embedded in a web page — writing more than a few dozen lines of code would have been somewhat unusual.
17-
Due to this, early web browsers executed such code pretty slowly.
18-
Over time, though, JS became more and more popular, and web developers started using it to create interactive experiences.
15+
JavaScript(ECMAScript으로도 알려져있는)는 처음에 브라우저를 위한 스크립팅 언어로 만들어졌습니다.
16+
JavaScript가 처음 나왔을 때, 수십 줄 이상의 코드를 작성하는 것은 다소 이례적인 일이었기에 웹 페이지 속 짧은 코드들을 위해 사용할 것으로 여겨졌습니다.
17+
때문에, 초기 웹 브라우저들은 수십 줄 이상의 코드를 실행하는데 오래 걸렸습니다.
18+
그러나 시간이 흘러 JS가 점점 더 유명해지면서, 웹 개발자들은 JS를 이용해 상호작용을 하는 경험을 하기 시작했습니다.
1919

20-
Web browser developers responded to this increased JS usage by optimizing their execution engines (dynamic compilation) and extending what could be done with it (adding APIs), which in turn made web developers use it even more.
21-
On modern websites, your browser is frequently running applications that span hundreds of thousands of lines of code.
22-
This is long and gradual growth of "the web", starting as a simple network of static pages, and evolving into a platform for rich _applications_ of all kinds.
20+
웹 브라우저 개발자들은 위와 같이 늘어나는 JS 사용량에 대하여 실행 엔진(동적 컴파일)을 최적화시키고 최적화 된 것을 이용해 할 수 있는 일(API 추가)을 확장하여 웹 개발자가 더 많이 JS를 사용할 수 있게 했습니다.
21+
현대 웹사이트에서, 브라우저는 수십만 줄의 코드로 구성된 어플리케이션을 자주 실행합니다.
22+
이는 정적 페이지의 간단한 네트워크로 시작해서, 모든 종류의 만족스러울만한 _어플리케이션_을 위한 플랫폼으로 성장한 "웹"의 길고 점진적인 성장입니다.
2323

24-
More than this, JS has become popular enough to be used outside the context of browsers, such as implementing JS servers using node.js.
25-
The "run anywhere" nature of JS makes it an attractive choice for cross-platform development.
26-
There are many developers these days that use _only_ JavaScript to program their entire stack!
24+
이외에도, JS는 node.js를 사용하여 JS 서버들을 구현하는 것처럼, 브라우저 맥락에서 벗어나는 일에 사용하기 충분할 정도로 유명해졌습니다.
25+
"어디서든 작동됨"과 같은 JS의 성질은 교차 플랫폼(cross-platform) 개발을 위한 매력적인 선택지이기도 합니다.
26+
오늘날 많은 개발자들은 _오직_ JavaScript만을 이용하여 전체 스택을 프로그래밍하고 있습니다!
2727

28-
To summarize, we have a language that was designed for quick uses, and then grew to a full-fledged tool to write applications with millions of lines.
29-
Every language has its own _quirks_ — oddities and surprises, and JavaScript's humble beginning makes it have _many_ of these. Some examples:
28+
요약하자면, 우리에게는 빠른 사용을 위해 설계되었으며 수백만 줄의 어플리케이션들을 작성하기 위해 만들어진 완벽한 도구인 JavaScript가 있습니다.
29+
모든 언어는 각자의 _별난 점_ - 이상한 점과 놀랄만한 점이 있으며, JavaScript의 자랑스럽지만은 않은 시작은 _많은_ 문제를 만들게 되었습니다. 예를 들어:
3030

31-
* JavaScript's equality operator (`==`) _coerces_ its arguments, leading to unexpected behavior:
31+
* JavaScript의 동일 연산자는 (`==`) 인수를 _강제로 변환하여(coerces)_, 예기치 않은 동작을 유발합니다:
3232

3333
```js
3434
if ("" == 0) {
35-
// It is! But why??
35+
// 참입니다! 근데 왜죠??
3636
}
3737
if (1 < x < 3) {
38-
// True for *any* value of x!
38+
// *어떤* x 값이던 참입니다!
3939
}
4040
```
4141

42-
* JavaScript also allows accessing properties which aren't present:
42+
* JavaScript는 또한 존재하지 않는 프로퍼티의 접근을 허용합니다:
4343

4444
```js
4545
const obj = { width: 10, height: 15 };
46-
// Why is this NaN? Spelling is hard!
46+
// 왜 이게 NaN이죠? 철자가 어렵네요!
4747
const area = obj.width * obj.heigth;
4848
```
4949

50-
Most programming languages would throw an error when these sorts of errors occur, some would do so during compilation — before any code is running.
51-
When writing small programs, such quirks are annoying but manageable; when writing applications with hundreds or thousands of lines of code, these constant surprises are a serious problem.
50+
대부분의 프로그래밍 언어는 이런 종류의 오류들이 발생하면 오류를 표출해주고, 일부는 코드가 실행되기 전인 컴파일 중에 오류를 표출해줍니다.
51+
작은 프로그램을 작성할 때에는, 이런 이상한 점들이 화를 돋구지만 관리는 가능합니다. 그러나 수백 또는 수천 줄의 어플리케이션들을 작성할 때에는, 이러한 지속적 놀라움들은 심각한 문제입니다.
5252

5353
## TypeScript: A Static Type Checker
5454

0 commit comments

Comments
 (0)