javascript 에서 object 에 들어 있는 값을 확인하고 싶을때. 

 

 

var objectValues = rec.json;

 

for (var key in objectValues){

    console.log("attr: " + key + ", value: " + objectValues[key]);

}

 

 

 



출처: https://server-engineer.tistory.com/577 [HelloWorld]

+ Recent posts