0 votes
in JavaScript by
What are the built-in iterables in Javascript?

1 Answer

0 votes
by

Below are the list of built-in iterables in javascript,

  1. Arrays and TypedArrays
  2. Strings: Iterate over each character or Unicode code-points
  3. Maps: iterate over its key-value pairs
  4. Sets: iterates over their elements
  5. arguments: An array-like special variable in functions
  6. DOM collection such as NodeList
...