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

Homework 2 #48

Closed
wants to merge 7 commits into from
Closed

Homework 2 #48

wants to merge 7 commits into from

Conversation

ruireise
Copy link

Is the solution complete?

Yes

Did you run into any problems?

I ran into problems creating a pull request for the second homework, but I was able to do it by making another branch.

Did you collaborate with others on this solution?

No

@@ -16,7 +16,13 @@ function transformArrayToUpper(listOfStrings) {
the function should return 51
*/
function sumOfAllAges(listOfStudentObjects) {
return;
let accumulatedAge = 0;
for(student of listOfStudentObjects){
Copy link
Member

Choose a reason for hiding this comment

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

good code, but I recommend adding a let or const to this line for(let student of listOfStudentObjects){

@medgardo
Copy link
Member

clear solution code, I left one comment.

@medgardo medgardo closed this Aug 15, 2024
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