docs: improve documentation (#1898)

* improve channel documentation

* forgot some stuff

* another one

* im good at this

* i did a dum
This commit is contained in:
Isabella
2017-09-07 19:01:35 -05:00
committed by Crawl
parent 41c4999c2b
commit 0607720ec8
7 changed files with 35 additions and 15 deletions

View File

@@ -413,10 +413,10 @@ class Collection extends Map {
}
/**
* The sort() method sorts the elements of a collection in place and returns the collection.
* The sort() method sorts the elements of a collection and returns it.
* The sort is not necessarily stable. The default sort order is according to string Unicode code points.
* @param {Function} [compareFunction] Specifies a function that defines the sort order.
* if omitted, the collection is sorted according to each character's Unicode code point value,
* If omitted, the collection is sorted according to each character's Unicode code point value,
* according to the string conversion of each element.
* @returns {Collection}
*/