How to replace string with multiple?

I world like to replace string with multiple

var str = 'a b c d e';
str.replaceMul...([a, b, c, d, e], [f, g, h, i, j]);
// result: f g h i j

Please help me (I use underscore, -string).