JavaScript:实现HeapSort堆排序算法
Array.prototype.heapify = function (index, heapSize) {
let largest = index
const leftIndex = 2
Array.prototype.heapify = function (index, heapSize) {
let largest = index
const leftIndex = 2