How to split strings into an array in javascript? I tried this below
const Vehicles = "Sedan" + "Coupe" + "Minivan"
const Output = Vehicles.split(",")
console.log(Output)
and the results was
["SedanCoupeMinivan",]
However I would like the results to instead be this below
["Sedan", "Coupe", "Minivan"]