Skip to content

Commit 17ec03a

Browse files
committed
rename
1 parent b8c3010 commit 17ec03a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/RandomRoundRobin.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ class RandomRoundRobin extends RoundRobin {
8080
*/
8181
_nextTurn() {
8282
if (this._currentTurn === null) {
83-
this._round = new Set(Array.from(this._items.keys()));
83+
const keys = Array.from(this._items.keys());
84+
this._round = new Set(keys);
8485
}
8586

8687
if (this._round.size === 0) {

0 commit comments

Comments
 (0)