Skip to content

Conversation

@Konvaly
Copy link

@Konvaly Konvaly commented Dec 1, 2025

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

Added tests and implemented solution for the debug, implement and interpret sections.

@Konvaly Konvaly added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Dec 1, 2025
@wheresdiasd wheresdiasd self-requested a review December 1, 2025 18:11
@wheresdiasd wheresdiasd added Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Dec 1, 2025
};

for (const value of author) {
for (const value of Object.values(author)) {

Choose a reason for hiding this comment

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

What about using a for in loop would that be more appropriate to objects?

Copy link
Author

Choose a reason for hiding this comment

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

I thought that we need to fix for..of loop that's why I used Object.values() - literatully it takes the object and returns an array of its values.

Do you reckon that my solution might be better to change with using for in loop?

@wheresdiasd wheresdiasd added Complete Volunteer to add when work is complete and all review comments have been addressed. and removed Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. labels Dec 3, 2025
@wheresdiasd
Copy link

wheresdiasd commented Dec 3, 2025

Overall it looks good to me, left a suggestion but already consider it completed and approved.

@Konvaly
Copy link
Author

Konvaly commented Dec 4, 2025

Thanks a lot @wheresdiasd !
I really appreciate your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Complete Volunteer to add when work is complete and all review comments have been addressed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants