# Arrays

## Arrays

**데이터를 저장하는곳, 리스트 같이 저장하는것을 의미**

```
const dayOfweek = ["월","화","수","목","금","토","일"]// 스페이스대신 대문자를 넣어줌 

console.log(dayOfweek[2]); // 수
```

* arrays를 사용할때는 \[] 안에 데이터를 넣어주면 된다.
* 배열은 0부터 시작한다.
* 변수, 숫자, 문자, 다 넣을 수 있다.&#x20;


---

# Agent Instructions: 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://leeboa.gitbook.io/study/undefined/arrays.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.
