# What are "\[ \]" square brackets used for?

**URL:** https://forum.kirupa.com/t/what-are-square-brackets-used-for/325500
**Category:** Uncategorized
**Created:** [October 19, 2011, 11:27am UTC](https://forum.kirupa.com/t/what-are-square-brackets-used-for/325500 "2011-10-19T11:27:23Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![aeson](https://avatars.discourse-cdn.com/v4/letter/a/db5fbb/32.png) [@aeson](https://forum.kirupa.com/u/aeson)
#### Post date: [October 19, 2011, 11:27am UTC](https://forum.kirupa.com/t/what-are-square-brackets-used-for/325500/1 "2011-10-19T11:27:23Z")

</div>

Hi Everyone,

I have kind of a silly question.  
I am kinda new to as3 and I have seen

```auto
[]

```

the square brackets used when trying to access array index but I have also seen some people use it in other places. I was just wondering what its exact function was:puzzled:.

If anyone is kind enough to explain this or if possible give a simple example, I would be really grateful.
