1 min read 39 words Updated Sep 24, 2026 Created Sep 24, 2026
#JavaScript#RxJS

Combine values from multiple observable, pairwise

const word1$ = from(['Hello', "Hey"]);
const word2$ = from(['world!', 'there!']);


// zip word1$ and word2$ together
const sentence$ = zip(word1$, word2$);


sentence$.subscribe((value) => {
console.log(value)
});

// [Hello, world!], [Hey, there!]