結果 : javascript wait for async function in sync function