mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 22:11:53 +00:00
docs(Collection): fix spelling of 'behavior' (#2529)
This commit is contained in:
parent
f293dddc29
commit
17d2c2efb8
1 changed files with 2 additions and 2 deletions
|
|
@ -41,7 +41,7 @@ class Collection extends Map {
|
|||
/**
|
||||
* 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
|
||||
* 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.
|
||||
* @returns {Array}
|
||||
*/
|
||||
|
|
@ -53,7 +53,7 @@ class Collection extends Map {
|
|||
/**
|
||||
* 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
|
||||
* 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.
|
||||
* @returns {Array}
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue