mirror of
https://github.com/danbulant/discord.js
synced 2026-06-19 22:51:32 +00:00
Webpack build for branch 11.3-dev: 0821acfa99
This commit is contained in:
parent
dd9da686f4
commit
ae9bc27f78
2 changed files with 2 additions and 2 deletions
|
|
@ -1010,7 +1010,7 @@ class Collection extends Map {
|
|||
if (!Number.isInteger(count) || count < 1) throw new RangeError('The count must be an integer greater than 0.');
|
||||
count = Math.min(this.size, count);
|
||||
const arr = new Array(count);
|
||||
const iter = this.iter();
|
||||
const iter = this.keys();
|
||||
for (let i = 0; i < count; i++) arr[i] = iter.next().value;
|
||||
return arr;
|
||||
}
|
||||
|
|
|
|||
2
discord.11.3-dev.min.js
vendored
2
discord.11.3-dev.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue