Skip to content

Commit bb934d9

Browse files
authored
Update instructions.md (#2766)
1 parent a13f06e commit bb934d9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

exercises/concept/bird-watcher/.docs/instructions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ To practice, use a `for` loop to solve each of the tasks below.
1616
Let us start analyzing the data by getting a high-level view.
1717
Find out how many birds you counted in total since you started your logs.
1818

19-
Implement a function `totalBirdCount` that accepts an array that contains the bird count per day.
19+
Implement a function `totalBirdCount` that accepts an array-like object that contains the bird count per day.
2020
It should return the total number of birds that you counted.
2121

2222
```javascript
@@ -29,7 +29,7 @@ totalBirdCount(birdsPerDay);
2929

3030
Now that you got a general feel for your bird count numbers, you want to make a more fine-grained analysis.
3131

32-
Implement a function `birdsInWeek` that accepts an array of bird counts per day and a week number.
32+
Implement a function `birdsInWeek` that accepts an array-like object of bird counts per day and a week number.
3333
It returns the total number of birds that you counted in that specific week.
3434
You can assume weeks are always tracked completely.
3535

@@ -46,7 +46,7 @@ You figured out that this bird always spent every second day in your garden.
4646
You do not know exactly where it was in between those days but definitely not in your garden.
4747
Your bird watcher intuition also tells you that the bird was in your garden on the first day that you tracked in your list.
4848

49-
Given this new information, write a function `fixBirdCountLog` that takes an array of birds counted per day as an argument. It should correct the counting mistake by modifying the given array.
49+
Given this new information, write a function `fixBirdCountLog` that takes an array-like object of birds counted per day as an argument. It should correct the counting mistake by modifying the given array.
5050

5151
```javascript
5252
birdsPerDay = [2, 5, 0, 7, 4, 1];

0 commit comments

Comments
 (0)