結果 : javascript await for function to complete