Iterators enable lazy evaluation, allowing elements to be processed one at a time, as opposed to ________ evaluation.

  • synchronous
  • asynchronous
  • parallel
  • concurrent
Iterators in JavaScript enable lazy evaluation, meaning elements are processed one at a time on demand, in contrast to synchronous evaluation, where all elements are processed at once. This supports more efficient resource utilization.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *