We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d82c3c2 commit 737bd62Copy full SHA for 737bd62
lib/internal/fixed_queue.js
@@ -56,7 +56,7 @@ const kMask = kSize - 1;
56
// `top + 1 === bottom` it's full. This wastes a single space of storage
57
// but allows much quicker checks.
58
59
-const FixedCircularBuffer = class FixedCircularBuffer {
+class FixedCircularBuffer {
60
constructor() {
61
this.bottom = 0;
62
this.top = 0;
@@ -85,7 +85,7 @@ const FixedCircularBuffer = class FixedCircularBuffer {
85
this.bottom = (this.bottom + 1) & kMask;
86
return nextItem;
87
}
88
-};
+}
89
90
module.exports = class FixedQueue {
91
0 commit comments