Skip to content

Completed task-2 - #17

Open
someykoku wants to merge 1 commit into
HackYourAssignment:mainfrom
someykoku:task-2
Open

someykoku wants to merge 1 commit into
HackYourAssignment:mainfrom
someykoku:task-2

Conversation

@someykoku

Copy link
Copy Markdown

No description provided.

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

lgtm!

Comment thread task-2/parse-date.js
day = Number(first);
month = Number(second);
}
return {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

So if format is banana, what happens?

Comment thread task-2/parse-date.js
Comment on lines +6 to +7
let day;
let month;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This works, but it's always a bit sad to me to have values declared without a value. What if we forget about them, and then they're just there, lonely and null.

@RHSebregts RHSebregts added Reviewed This assignment has been reivewed by a mentor and a feedback has been provided and removed Review in progress labels Nov 26, 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