Skip to content

Asem A. - #8

Open
asemasda wants to merge 1 commit into
HackYourAssignment:mainfrom
asemasda:main
Open

asemasda wants to merge 1 commit into
HackYourAssignment:mainfrom
asemasda:main

Conversation

@asemasda

Copy link
Copy Markdown

No description provided.

@sarlam
sarlam self-requested a review November 23, 2026 13:44

@sarlam sarlam 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.

It is spotless, really clean code

I made one comment at the end of the cleanup tasks that is fully optional

Nice work here 👍

Comment thread task-4/cleanup.js
Comment on lines +51 to +52
printWindChill("Barcelona", 33);
printWindChill("Oslo", 4); No newline at end of file

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Those two calls outputs NaN (not a number) due to the windspeed not being defined

You do not need to implement it, let's say it is someone else calling your function without this argument and you can not update the call itself (so you can not add the windspeed here), how would you update your printWindChill function to take care of this situation?

@sarlam sarlam added the Reviewed This assignment has been reivewed by a mentor and a feedback has been provided label Nov 25, 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