Skip to content

Animal shelter - #28

Open
MuckT wants to merge 3 commits into
mainfrom
animal-shelter
Open

Animal shelter#28
MuckT wants to merge 3 commits into
mainfrom
animal-shelter

Conversation

@MuckT

@MuckT MuckT commented Nov 10, 2021

Copy link
Copy Markdown
Owner
  • Complete Readme
  • Complete Methods
  • Complete Tests

@MuckT
MuckT marked this pull request as ready for review November 14, 2021 19:46
dequeue(pref = null) {
if(this.back === 0){throw new Error('Shelter is empty')}
let result
if(pref === null) {

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Should return null if pref in null instead of next in queue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant