結果 : javascript make asynchronous function synchronous