12 lines
278 B
Markdown
Raw Normal View History

2018-10-12 15:37:13 -04:00
---
title: Access an Array's Contents Using Bracket Notation
---
## Access an Array's Contents Using Bracket Notation
- Remember the arrays index begins at 0 so the postion of b will be located in `myArray[1]`.
## Solution
```javascript
myArray[1] = "anything we want";
```