Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Whack a mole #690

Open
wants to merge 30 commits into
base: master
Choose a base branch
from
Open

Whack a mole #690

wants to merge 30 commits into from

Conversation

shb1383
Copy link

@shb1383 shb1383 commented Jun 18, 2024

No description provided.

shb1383 added 30 commits May 16, 2024 16:56
@shb1383
Copy link
Author

shb1383 commented Jun 18, 2024

created various functions for whack a mole gameplay


// Array.prototype.map()
// 2. Give us an array of the inventors first and last names
const fullNames = inventors.map(inventor => `${inventor.first} ${inventor.last}`);
console.log(fullNames);

// Array.prototype.sort()
// 3. Sort the inventors by birthdate, oldest to youngest

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove This Comments Line

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants