mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
docs(Collection): fix spelling of 'behavior' (#2529)
This commit is contained in:
@@ -39,7 +39,7 @@ class Collection extends Map {
|
|||||||
/**
|
/**
|
||||||
* Creates an ordered array of the values of this collection, and caches it internally. The array will only be
|
* Creates an ordered array of the values of this collection, and caches it internally. The array will only be
|
||||||
* reconstructed if an item is added to or removed from the collection, or if you change the length of the array
|
* reconstructed if an item is added to or removed from the collection, or if you change the length of the array
|
||||||
* itself. If you don't want this caching behaviour, use `[...collection.values()]` or
|
* itself. If you don't want this caching behavior, use `[...collection.values()]` or
|
||||||
* `Array.from(collection.values())` instead.
|
* `Array.from(collection.values())` instead.
|
||||||
* @returns {Array}
|
* @returns {Array}
|
||||||
*/
|
*/
|
||||||
@@ -51,7 +51,7 @@ class Collection extends Map {
|
|||||||
/**
|
/**
|
||||||
* Creates an ordered array of the keys of this collection, and caches it internally. The array will only be
|
* Creates an ordered array of the keys of this collection, and caches it internally. The array will only be
|
||||||
* reconstructed if an item is added to or removed from the collection, or if you change the length of the array
|
* reconstructed if an item is added to or removed from the collection, or if you change the length of the array
|
||||||
* itself. If you don't want this caching behaviour, use `[...collection.keys()]` or
|
* itself. If you don't want this caching behavior, use `[...collection.keys()]` or
|
||||||
* `Array.from(collection.keys())` instead.
|
* `Array.from(collection.keys())` instead.
|
||||||
* @returns {Array}
|
* @returns {Array}
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user