Conversation
mateacademy-ai-mentor
left a comment
There was a problem hiding this comment.
Review Summary
Great work on this task! I am approving your solution as it correctly sorts the list and implements the function to create an array of employee objects, meeting all the core requirements.
One small suggestion for improvement: the getEmployees function is called, but the array it returns is never used. To fully demonstrate that your function works as expected, you could store its return value in a variable and log it to the console, like this: const employees = getEmployees(...items); console.log(employees);. This is a great way to confirm your logic is sound.
✨ Please rate this review in the Platform's notification center1. I will be grateful for your feedback! ✨
Footnotes
| } | ||
|
|
||
| sortList(...items); | ||
| getEmployees(...items); |
There was a problem hiding this comment.
The getEmployees function is called correctly, but the array it returns is never used. To verify that your function works as expected, you could store its return value in a variable and log it to the console.
[DEMO LINK](htt ps://IvanovvvIhor.github.io/js_task_parse_list_DOM/)