結果 : make async function sync javascript