結果 : pass variable to async function javascript