12 lines
278 B
Markdown
12 lines
278 B
Markdown
|
---
|
||
|
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";
|
||
|
```
|