diff --git a/src/util/Collection.js b/src/util/Collection.js index 4195fc8a9..6fdffc943 100644 --- a/src/util/Collection.js +++ b/src/util/Collection.js @@ -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} */