docs(Collection): fix spelling of 'behavior' (#2529)

This commit is contained in:
bdistin
2018-05-03 01:00:56 -05:00
committed by SpaceEEC
parent bd9c9ce4e0
commit b757f9ef2d

View File

@@ -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
* 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}
*/
@@ -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
* 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}
*/