Skip to content

Yusup R.#10

Open
Yusuprozimemet wants to merge 1 commit intoHackYourAssignment:mainfrom
Yusuprozimemet:main
Open

Yusup R.#10
Yusuprozimemet wants to merge 1 commit intoHackYourAssignment:mainfrom
Yusuprozimemet:main

Conversation

@Yusuprozimemet
Copy link

No description provided.

@github-actions
Copy link

📝 HackYourFuture auto grade

Assignment Score: 0 / 100 ✅

Status: ✅ Passed
Minimum score to pass: 0
🧪 The auto grade is experimental and still being improved

Test Details

@hacdias hacdias self-assigned this Feb 22, 2026
Copy link

@hacdias hacdias left a comment

Choose a reason for hiding this comment

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

Hey! Great assignment. I added an inline comment about an edge case that could happen, just something to think about.

Have a nice week!

// TODO: Implement this function
export function addBook(bookInfo) {
const books = loadBooks();
const newId = books.length + 1;
Copy link

Choose a reason for hiding this comment

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

What if you've removed a book, and the ID count doesn't match the length anymore? You don't neewd to change anything now, but I want you to think how else this could've been done.

@hacdias hacdias added Reviewed This assignment has been reivewed by a mentor and a feedback has been provided and removed To review labels Feb 22, 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