Iterator join

Specification
Proposal repo

Modules

esnext.iterator.join

Built-ins signatures

class Iterator {
  join(separator?: string | undefined): string;
}

Entry points

core-js/proposals/iterator-join
core-js(-pure)/full/iterator/join

Examples

const digits = () => [1, 2, 3].values();
digits().join();  // => '1,2,3'

const words = () => ['Hello', 'core-js'].values();
words().join(' ');  // => 'Hello core-js'