const a = "foo"; const b = "bar"; // + joins strings; concat does the same with many args console.log(a + b); console.log(a.concat(b, "!"));
join with + or concat