> For the complete documentation index, see [llms.txt](https://nbcamp.gitbook.io/javascript-handbook/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nbcamp.gitbook.io/javascript-handbook/part-02..md).

# Part 02. 조건문

{% hint style="info" %}
🤔 : 직관적으로 우리가 당연하게 생각한 것들이 있습니다. 코드는 위에서 아래로 한 줄 씩 실행된다는 것이고, 일반적인 경우 당연히 그게 맞습니다. 하지만 우리는 필요에따라 코드의 실행을 제어할 필요가 있습니다.&#x20;

특정 조건에 따라서 어떠한 문장이 실행되거나, 실행되지 않도록 작성을 해둘 필요가 있는거죠, 오늘, 내일 배울 챕터는 그것과 관련된 이야기들 입니다.
{% endhint %}


---

# 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:

```
GET https://nbcamp.gitbook.io/javascript-handbook/part-02..md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
