Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
eyas-ranjous committed Feb 22, 2022
1 parent 6a590f8 commit c824593
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/maxHeap.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class MaxHeap extends Heap {
* @static
* @param {array} values
* @param {function} [getValueCb]
* @returns {Heap}
* @returns {MaxHeap}
*/
static heapify(values, getValueCb) {
if (!Array.isArray(values)) {
Expand Down
2 changes: 1 addition & 1 deletion src/minHeap.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class MinHeap extends Heap {
* @static
* @param {array} values
* @param {function} [getValueCb]
* @returns {Heap}
* @returns {MinHeap}
*/
static heapify(values, getValueCb) {
if (!Array.isArray(values)) {
Expand Down

0 comments on commit c824593

Please sign in to comment.