8000 Merge pull request #378 from Roberra0/ex12_ReadmeClarified · gitwinst/javascript-exercises@e381086 · GitHub
[go: up one dir, main page]

Skip to content

Commit e381086

Browse files
Merge pull request TheOdinProject#378 from Roberra0/ex12_ReadmeClarified
Ex12 readme clarified
2 parents 15f1b82 + 100f952 commit e381086

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

12_findTheOldest/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
Given an array of objects representing people with a birth and death year, return the oldest person.
44

5+
Now that you've reached the final exercise, you should be fairly comfortable getting the information you need from test case(s). Take a look at how the array of objects is constructed in this exercise's test cases to help you write your function.
6+
57
## Hints
68
- You should return the whole person object, but the tests mostly just check to make sure the name is correct.
7-
- this can be done with a couple of chained array methods, or by using `reduce`.
9+
- This can be done with a couple of chained array methods, or by using `reduce`.
810
- One of the tests checks for people with no death-date.. use JavaScript's Date function to get their age as of today.

0 commit comments

Comments
 (0)
0