build: update volta node.js version
[poolifier.git] / src / queue.ts
index 8b761c8ff82d5ca7c0c0a67b361188d1fda19dc5..7aad6d065ce6338129c70032b266ce5c6bcba600 100644 (file)
@@ -13,9 +13,9 @@ export class Queue<T> {
 
   public constructor () {
     this.items = []
+    this.offset = 0
     /** The size of the queue. */
     this.size = 0
-    this.offset = 0
     /** The maximum size of the queue. */
     this.maxSize = 0
   }