結果 : loop through key value pairs of object javascript