mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-05 00:01:37 +08:00
fix: standard style issues
This commit is contained in:
@ -33,9 +33,7 @@ class CircularQueue {
|
||||
}
|
||||
const y = this.queue[this.front]
|
||||
this.queue[this.front] = '*'
|
||||
if (this.checkSingleelement()) {
|
||||
|
||||
} else {
|
||||
if (!this.checkSingleelement()) {
|
||||
if (this.front === this.maxLength) this.front = 1
|
||||
else {
|
||||
this.front += 1
|
||||
|
Reference in New Issue
Block a user