結果 : loop through the properties of an object javascript