NodeList
array가 아님. forEach() 명령어는 존재. Array.from()으로 배열로 전환 가능
Properties
readonlyNodeList.lengthNumber: 노드의 수
Methods
NodeList.item(index)→Node:NodeList.[index]연산자와 동일NodeList.entryies()→[unsinged integer, Node]iteratorNodeList.keys()→NodeiteratorNodeList.values()→unsigned integeriteratorNodeList.forEach(callback)→void
NodeList.forEach(callback, thisArg)→undefinedcallbackfunctioncurrentValue: 처리중인 현재 요소currentIndex: 현재 요소의 인덱스listObj: NodeList 객체
thisArg:this에 대입하는 값