📜  javascript 从数组中获取字符串,中间有空格 - Javascript 代码示例
📅  最后修改于: 2022-03-11 15:01:34.182000             🧑  作者: Mango
代码示例1
var showtimes = ["1pm", "2pm", "3pm"];
var showtimesAsString = showtimes.join(', '); // gives "1pm, 2pm, 3pm"