結果 : js wait until async function is done