結果 : javascript wait for promise in synchronous function