eslint fix

This commit is contained in:
Muthukumar M 2024-12-19 17:43:30 +05:30
parent 695237710e
commit 37d6a32e23
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ class Queue {
dequeue() {
let result = this._iterator.next();
const isInvalidIterator = result.done && this._set.size > 0;
if(isInvalidIterator){
if (isInvalidIterator) {
this._iterator = this._set[Symbol.iterator]();
result = this._iterator.next();
}