結果 : how to map object properties in javascript