-
-
Notifications
You must be signed in to change notification settings - Fork 193
London | ITP-Sept-2025 | Mariia Serhiienko | Sprint 2 | Module Data Groups #902
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?
Conversation
| }; | ||
|
|
||
| for (const value of author) { | ||
| for (const value of Object.values(author)) { |
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 about using a for in loop would that be more appropriate to objects?
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.
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?
|
Overall it looks good to me, left a suggestion but already consider it completed and approved. |
|
Thanks a lot @wheresdiasd ! |
Added tests and implemented solution for the debug, implement and interpret sections.