* Removes and returns an element with highest priority in the queue * @public * @returns {number|string|object}
()
| 75 | * @returns {number|string|object} |
| 76 | */ |
| 77 | pop() { |
| 78 | return this.dequeue(); |
| 79 | } |
| 80 | |
| 81 | /** |
| 82 | * Removes all elements that match a criteria in the callback |
no test coverage detected