javascript에서 JSON형태의 값을 alert을 찍을때

alert(변수명); 

[object object]로 나올경우 

alert(JSON.stringify(변수명)); 

으로 찍을경우 해당 값을 확인 할 수 있다.


+ Recent posts