se séparer et rejoindre le nœud js

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