Interposing and interleaving

Interposing means inserting the same value in-between every value in the indexed collection. Interleaving is like concatenation, except that the order of the resulting values is alternated between input lists based on the order of the collection arguments.

Get Mastering Immutable.js now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.