結果 : how to make asynchronous function in javascript