added task solution#1977
Conversation
Inna-code10
commented
Apr 25, 2026
- DEMO LINK
mateacademy-ai-mentor
left a comment
There was a problem hiding this comment.
Review Summary
Your implementation correctly meets all functional requirements. The sortList function properly sorts employees by salary in descending order, the getEmployees function returns properly structured employee objects with the exact schema specified ({ name, position, salary, age }), and the helper function parseSalary correctly converts string salaries to numbers. Both functions are called as expected, and the code uses the dataset property for accessing custom data attributes. No test failures or linter errors were reported. The only minor note is that the demo link in your PR body should be verified to ensure the Inna-code10 account name resolves to your actual deployed page. Great work on a clean implementation!
✨ Please rate this review in the Platform's notification center1. I will be grateful for your feedback! ✨