Skip to content

JavaScript-II - #1

Open
john-afolabi wants to merge 4 commits into
masterfrom
John-Afolabi
Open

JavaScript-II#1
john-afolabi wants to merge 4 commits into
masterfrom
John-Afolabi

Conversation

@john-afolabi

Copy link
Copy Markdown
Owner

What does this PR do?

JavaScript-II

Description of tasks completed

  • Completed callbacks.js challenges
  • Completed array-methods.js challenges
  • Completed closure.js challenges

@john-afolabi
john-afolabi requested a review from nedssoft October 15, 2019 14:56

@nedssoft nedssoft left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Good job on the project. You need to do more work on the callback tasks.

Comment on lines +107 to +113
let studentDonation =
runners.filter(runner => {
return runner.email.includes("edu");
}).reduce((acc, runner) => {
return acc + runner.donation;
}, 0);
console.log(studentDonation);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Nice chaining!

Comment thread assignments/callbacks.js
@john-afolabi
john-afolabi requested a review from nedssoft October 16, 2019 13:55
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