docs: refine code comment
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Fri, 24 May 2024 12:28:03 +0000 (14:28 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Fri, 24 May 2024 12:28:03 +0000 (14:28 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
src/circular-buffer.ts

index 46f6df5f2883433d8516890b075d267d7d0f1250..2975ef7797389b2cb370c0184de493c81fe85ed7 100644 (file)
@@ -14,6 +14,7 @@ export class CircularBuffer<T> {
   private writeIdx: number
   private items: Array<T | undefined>
   private readonly maxArrayIdx: number
+  /* Buffer number of elements */
   public size: number
 
   /**