refactor: incrementation consistency
authorJérôme Benoit <jerome.benoit@sap.com>
Sun, 9 Jul 2023 22:04:47 +0000 (00:04 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Sun, 9 Jul 2023 22:04:47 +0000 (00:04 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/queue.ts

index dab9f04c2783f5a5aa039a3af894780f1b5c639f..dba55f1cc90467ab5d27e55a9b37e9004da983b4 100644 (file)
@@ -91,7 +91,7 @@ export class Queue<T> {
           }
         }
         const value = items[i]
-        i++
+        ++i
         return {
           value,
           done: false