結果 : how to map an array of objects in javascript