spring memo

ajax로 넘겨받은 데이터의 key 찾기

고랑이. 2018. 7. 20. 14:39




data.hasOwnProperty("info")

파라미터로 받은 data안에 info라는 키가 있는지 확인

있으면 true, 없으면 false