Skip to content

DOM

  • NodeList and HTMLCollection are not true arrays.
  • NodeList has access to forEach, but for HTMLCollection, we need to convert it into an array with Array.from().