結果 : how to write a async function in javascript