Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,22 @@ Create an array.

Using a native array method…

- Add a noise to the beginning of the `noiseArray`.
- Add a noise your animal would make to the beginning of the `noiseArray`.
- Add another noise to the end of the `noiseArray`.


Using Bracket Notation…

- add another noise to the end.
- add another noise in between each the two noises you've already placed inside the array.

Inspect the `noiseArray`
Inspect the `noiseArray` in the console:

- What is the length?
- What is the last index? How is it different than the length?
- Inspect your handiwork! What does it look like?

- Now use the length property to find the length.
- Access the last index in the array using some sort of notation.

Nest the Array in the Object
- Put the `noiseArray` inside the animal object on the noises property. Your result should look like this:
Expand Down