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
10 changes: 10 additions & 0 deletions exercise.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,18 @@ Create a function that will add a new element into an array.*/
/*Mission 4:
Team Member: Reese


Create a function that will verify entry for a club. Patrons must be 22 and over to be admitted into the club.*/

function clubCheck(age){
if(age >= 22){
return true;
}else{
return false;
}
}
console.log(clubCheck(28));

/*Mission 5:
Team Member: Jace

Expand Down