mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 19:43:29 +01:00
Remove wholly unnecessary example
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -17,9 +17,6 @@ class Collection extends Map {
|
|||||||
/**
|
/**
|
||||||
* Returns the first item in this collection.
|
* Returns the first item in this collection.
|
||||||
* @returns {*}
|
* @returns {*}
|
||||||
* @example
|
|
||||||
* // identical to:
|
|
||||||
* Array.from(collection.values())[0];
|
|
||||||
*/
|
*/
|
||||||
first() {
|
first() {
|
||||||
return this.values().next().value;
|
return this.values().next().value;
|
||||||
|
|||||||
Reference in New Issue
Block a user