結果 : how to convert map iterator to array in javascript