結果 : execute async method synchronously javascript