Skip to content

Commit 779512f

Browse files
committed
seven complete
1 parent 0456723 commit 779512f

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

07 - Array Cardio Day 2/index-START.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
// console.log(isAdult);
3838
//or
3939

40-
4140
const isAdult = people.some(person => {
4241
const currentYear = (new Date()).getFullYear();
4342
return currentYear - person.year >= 19;
@@ -52,7 +51,6 @@
5251
console.log(allAdult);
5352

5453

55-
5654
// // Array.prototype.find()
5755
// const theComment = comments.find(function(comment) {
5856
// if(comment.id === 823423){

0 commit comments

Comments
 (0)