Pisahkan dan bergabunglah di Node JS

var str = "How are you doing today?";
var res = str.split(" ");
var join = res.join(",");
Embarrassed Echidna