-
-
Notifications
You must be signed in to change notification settings - Fork 153
West Midlands | ITP-MAY25 | Saleh Yousef | Module-Data-Groups | Sprint-1 #551
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
base: main
Are you sure you want to change the base?
West Midlands | ITP-MAY25 | Saleh Yousef | Module-Data-Groups | Sprint-1 #551
Conversation
…turn correct median; update tests accordingly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good work on this sprint - I just have one small question about one of the files for you to look at
return elements | ||
.filter(n => typeof n === "number" && !isNaN(n)) | ||
.reduce((total, n) => total + n, 0); | ||
Infinity |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the Infinity
doing on this line?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for catching that, it was just a stray line.
Great - you are done with this sprint now |
Learners, PR Template
Self checklist
Changelist
Briefly explain your PR.
This pull request updates the factors used in testing and changes how they are implemented in the code.
Questions
Ask any questions you have for your reviewer.