結果 : how to use map on an array of objects javascript