結果 : create an array from a map javascript