이터러블인지 검사하기

우뱅뱅·2021년 10월 23일
0

typeof obj[Symbol.iterator] === 'function'
Symbol.iterator in Object(value)

profile
개발왕이 될 남자

0개의 댓글