> For the complete documentation index, see [llms.txt](https://yamoo9.gitbook.io/typescript/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://yamoo9.gitbook.io/typescript/ts-vs-es6.md).

# TS vs ES6

[ECMAScript 호환성 표](http://kangax.github.io/compat-table/es6/)를 살펴보면 TypeScript는 ES6의 상당 기능을 지원(약 69%)합니다. [Babel](https://babeljs.io) 컴파일러 지원율(약 72%)에 비해 다소 떨어지지만, ES6에서 지원하지 않는 강력한 기능을 TypeScript에서 활용할 수 있다는 점이 강점입니다. ES6의 문법과 관련하여 TypeScript 코드를 비교해보는 시간을 가져보겠습니다.

{% embed url="<http://kangax.github.io/compat-table/es6/>" %}

{% embed url="<http://kangax.github.io/compat-table/es2016plus/>" %}

{% embed url="<http://kangax.github.io/compat-table/esnext/>" %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://yamoo9.gitbook.io/typescript/ts-vs-es6.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
