coderef

Iterator join()Limited availability

The join() method of an Iterator object returns a string concatenation of all the iterator's items, separated by commas or a given separator string. It's similar to the join() method of arrays.

Not yet supported in all major browsers — check the table and provide a fallback.

Browser support

DesktopChrome
1–152Not supported
153+Supportedsince Sep 8, 2026
Current: 155
Edge
12–152Not supported
153+Supportedsince Sep 11, 2026
Current: 154
Firefox
1–153Not supported
154+Supportedsince Aug 18, 2026
Current: 157
Safari
✕Not supportedup to 27
Current: 27
MobileChrome Android
18–152Not supported
153+Supportedsince Sep 8, 2026
Current: 155
Firefox Android
4–153Not supported
154+Supportedsince Aug 18, 2026
Current: 157
Safari iOS
✕Not supportedup to 27
Current: 27

How to use

Not supported in Safari, Safari iOS. Use feature detection below and provide a fallback (or a polyfill) for those browsers.

Example

Full syntax and examples are on MDN: join.

Feature detection

JS · check before using
if ("join" in Iterator || ("prototype" in Iterator && "join" in Iterator.prototype)) {
  // Iterator.join is available
}

Documentation (MDN)

Specification