結果 : check if async function javascript