結果 : map through key value pairs javascript