repositories
/
poolifier.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb8afc8
)
refactor: incrementation consistency
author
Jérôme Benoit
<jerome.benoit@sap.com>
Sun, 9 Jul 2023 22:04:47 +0000
(
00:04
+0200)
committer
Jé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
patch
|
blob
|
blame
|
history
diff --git
a/src/queue.ts
b/src/queue.ts
index dab9f04c2783f5a5aa039a3af894780f1b5c639f..dba55f1cc90467ab5d27e55a9b37e9004da983b4 100644
(file)
--- a/
src/queue.ts
+++ b/
src/queue.ts
@@
-91,7
+91,7
@@
export class Queue<T> {
}
}
const value = items[i]
- i++
+ ++i
return {
value,
done: false