Replies: 1 comment
-
|
둘다 똑같습니다. 차이점이 있다면 아래와 같습니다.
새로운 노드가 추가됐을때 HTMLCollection는 인식하지만 NodeList은 인식하지 못합니다. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
document.getElementsByTagName('button');은HTMLCollection을 반환합니다.document.querySelector(selector);는NodeList를 반환합니다.이 둘의 차이점은 무엇일까요?
Beta Was this translation helpful? Give feedback.
All reactions