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

# 배열 기본(Array Basic)

```javascript
var fruit = [
    'apple',
    'orange',
    'grape',
    'strawberry',
]
```

```javascript
var object_like_array = [//배열 같이 생겼지만 객체인 경우.
    0:'elephant',
    1:'kitty',
    2:'puppy',
    3:'chicken',
    length:4,
]
Array.isArray(object_like_array)//배열인지 확인하는 방법
```

Array, Math, Number 와 같이 첫 글자가 대문자인 것들은 생성자 역할을 한다.
