Answers for "js print array without comma"

0

js print array without comma

const arr = ["foo", "bar", "baz"];
console.log(`[${arr.join(" ")}]`);
Posted by: Guest on April-13-2022

Code answers related to "js print array without comma"

Code answers related to "Javascript"

Browse Popular Code Answers by Language