Skip to content

Hamed R.#14

Open
HamedRazizadeh-hub wants to merge 2 commits intoHackYourAssignment:mainfrom
HamedRazizadeh-hub:main
Open

Hamed R.#14
HamedRazizadeh-hub wants to merge 2 commits intoHackYourAssignment:mainfrom
HamedRazizadeh-hub:main

Conversation

@HamedRazizadeh-hub
Copy link

No description provided.

@mo92othman mo92othman self-assigned this Feb 15, 2026
Copy link

@mo92othman mo92othman left a comment

Choose a reason for hiding this comment

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

Hey @HamedRazizadeh-hub ,

Good job on this week’s assignment! You show a solid understanding of the core concepts! very good work 👏

}
}
aboveThresholdNumbers.sort((a, b) => a - b);
return { count, numbers: aboveThresholdNumbers };

Choose a reason for hiding this comment

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

Good job with the logic, you correctly identified and counted the numbers above the threshold!

However, the task requires returning only the count. Right now, the function returns an object with extra data. It's always good to stick to requirements.

Choose a reason for hiding this comment

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

Very good test coverage. You included all required cases. However, I couldn’t see a ' package.jsonorVitest`. Remember, it’s always good to try to actually run the tests.

@mo92othman mo92othman added Reviewed This assignment has been reivewed by a mentor and a feedback has been provided and removed To review labels Feb 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Reviewed This assignment has been reivewed by a mentor and a feedback has been provided

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants