Skip to content

solution - #2072

Open
Inna2424 wants to merge 1 commit into
mate-academy:masterfrom
Inna2424:develop
Open

solution#2072
Inna2424 wants to merge 1 commit into
mate-academy:masterfrom
Inna2424:develop

Conversation

@Inna2424

@Inna2424 Inna2424 commented Sep 9, 2026

Copy link
Copy Markdown

@mateacademy-ai-mentor mateacademy-ai-mentor left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Review Summary

Your implementation successfully meets all requirements. The sortList function correctly sorts employees by salary in descending order using salaryB - salaryA, and the getEmployees function returns properly structured objects with name, position, salary, and age fields. The helper function getSalaryNumber handles string-to-number conversion appropriately. Both functions are called as expected, and the demo is available at the provided link. Excellent work completing all checklist items.


✨ Please rate this review in the Platform's notification center1. I will be grateful for your feedback! ✨

Footnotes

  1. Rate AI review example

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