We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8c3010 commit 17ec03aCopy full SHA for 17ec03a
src/RandomRoundRobin.js
@@ -80,7 +80,8 @@ class RandomRoundRobin extends RoundRobin {
80
*/
81
_nextTurn() {
82
if (this._currentTurn === null) {
83
- this._round = new Set(Array.from(this._items.keys()));
+ const keys = Array.from(this._items.keys());
84
+ this._round = new Set(keys);
85
}
86
87
if (this._round.size === 0) {
0 commit comments