Skip to content

Conversation

@MuckT
Copy link
Owner

@MuckT MuckT commented Nov 10, 2021

  • 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
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.

2 participants