結果 : implement min heap in javascript