Creates a new min-heap. It uses Array.prototype.sort to make data into a heap.
Array.prototype.sort
data
A total order for T.
T
The new min-heap.
Generated using TypeDoc
Creates a new min-heap. It uses
Array.prototype.sort
to makedata
into a heap.