結果 : how to map through an object javascript