Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The take()
method of Iterator
instances returns a new iterator helper that yields the given number of elements in this iterator and then terminates.