# Objects

## Objects

```javascript
const person = {} // object 생성 
const person = { // person자체를 바꿀 수 는 없지만 안에 있는 값은 바꿀 수 있다. 
name: "민지",
age:33,
gender"남자",
favFood:["김치","과자","빵","해물탕"],// 객체 안에는 배열을 넣을 수 도 있다.
favMovies:[{name:"박하사탕" , rw:false }, {name:"장화홍련"; rw:true}]
} 
person.gender = "여"
console.log(person.name);//민지
console.log(person.gender)//여자
console.log(person.favMovies[0].name)//박하사탕

```


---

# 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/objects.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.
