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