結果 : loop through each property of object javascript