We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0456723 commit 779512fCopy full SHA for 779512f
1 file changed
07 - Array Cardio Day 2/index-START.html
@@ -37,7 +37,6 @@
37
// console.log(isAdult);
38
//or
39
40
-
41
const isAdult = people.some(person => {
42
const currentYear = (new Date()).getFullYear();
43
return currentYear - person.year >= 19;
@@ -52,7 +51,6 @@
52
51
console.log(allAdult);
53
54
55
56
// // Array.prototype.find()
57
// const theComment = comments.find(function(comment) {
58
// if(comment.id === 823423){
0 commit comments