> 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/p-art.01-hello-world/1..md).

# 1. 자료와 변수

## 00. 인트로

{% hint style="info" %}
자바스크립트 "문법"의 기본적인 내용입니다!\
기본적으로 문(statement)과 표현식(expression)부터,\
일반적으로(html 문서의 경우) 어디에서 사용하는지,\
실습을 위해 자주 사용되는 기본 입출력 같은 것들을 숙지하시면 됩니다.\
다른 리소스를 활용하신다면, 주로 intro부분과 어휘 구조, 기본 입출력쪽을 보고 오시면 됩니다.
{% endhint %}

{% embed url="<https://ko.javascript.info/hello-world>" %}

{% embed url="<https://ko.javascript.info/structure>" %}

{% embed url="<https://ko.javascript.info/strict-mode>" %}

{% embed url="<https://ko.javascript.info/alert-prompt-confirm>" %}

{% embed url="<https://ko.javascript.info/comments>" %}

## 01. 자료와 변수

모든 프로그래밍 언어는 특정 목적을 달성하기 위해 데이터와 로직이 필요합니다. 예를들어 11과 17을 더하기 위해서는 11이라는 숫자 데이터와 17이라는 숫자 데이터를 저장하고 더하는 로직을 실행해야 하죠.

그리고 일반적으로 모든 프로그래밍 언어가 이러한 데이터, 즉 값을 다루기 위해서는 정말 최소 두가지의 데이터를 위한 데이터가 필요합니다.

1. 데이터를 저장해둔 공간의 주소
2. 데이터의 타입 입니다.

메모리는 0과 1을 저장할 수 있는 칸과 그 칸의 주소가 부여되어있습니다. 그래서 컴퓨터는 어느 주소에 특정한 데이터가 저장되어있는지를 알아야 해당 데이터에 접근 할 수 있습니다.

{% hint style="info" %}
위처럼 어떠한 프로그래밍 언어를 사용하든 기본적으로 우리는 특정 데이터를 저장해야 어떠한 처리를 할 수 있습니다. 자바스크립트가 **"어떠한" "데이터를", "어디에", "어떻게"** 저장하는지와 관련한 이야기 입니다. \
\
1\. 꼭 데이터를 저장해서 사용한다의 관점을 가지고 공부를 하면 좋습니다.\
\
2\. 자바스크립트는 "동적 타이핑" 언어입니다. 우리가 타입을 지정해 줄 필요는 없지만, 그렇다고 타입이 없는 것은 절대 아니며, 타입과 관련된 처리는 자바스크립트의 특정한 규칙을 통해 처리됩니다. 언젠가는 타입스크립트를 사용 할 수 있겠지만, 그렇지 않은 동안에는 자바스크립트가 타입을 처리하는 "특정한 규칙"을 숙지하지 않으면 큰 오류를 마주하게 됩니다.
{% endhint %}

{% embed url="<https://ko.javascript.info/variables>" %}

{% embed url="<https://ko.javascript.info/types>" %}

{% embed url="<https://ko.javascript.info/type-conversions>" %}

## 02.  기본 연산자

{% hint style="info" %}
🤔 : 기본 연산자는 매우 쉽지만, 그래도 헷갈리는 부분이 있고, 사용빈도가 너무 많습니다. 딱히 어려운 것은 없지만, 비교연산자와 같은 것들은 상당히 헷갈리는 부분이 있으니 주의깊게 보고 와 주세요, "헷갈리는 애들을 주의깊게 본다!" 가 포인트 입니다.
{% endhint %}

{% embed url="<https://ko.javascript.info/operators>" %}

{% embed url="<https://ko.javascript.info/comparison>" %}


---

# 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/p-art.01-hello-world/1..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.
