📅  最后修改于: 2022-03-11 15:03:36.848000             🧑  作者: Mango
$(function(){
var s = "jpeg, jpg, gif, png";
var match = s.split(', ')
console.log(match)
for (var a in match)
{
var variable = match[a]
console.log(variable)
}
})