結果 : how to map over an object javascript