[js] 객체에 정보 담긴지 확인 함수 hasOwnProperty()

florentyoon·2020년 12월 16일
0

js

목록 보기
2/12
for(var text in list){
    var check = list.hasOwnProperty(text);
    console.log(list[text]);
}    

profile
florentyoon의 IT 세상

0개의 댓글