結果 : min heap implementation in javascript