string-indexes

Retrieves all indexes, in non-overlapping ranges, of a substring in a string.

keys-iterator

Returns an iterator of the keys/indexes of an Object, Map, Array, or Typed Array.