"字符串1","字符串2","字符串3"; var str1=str1.replace(/\s+/g,""); var str2=str2.replace(/\s+/g,""); var str3=str3.replace(/\s+/g,"");
javascript写3个字符串并清除空格
最新推荐文章于 2024-07-23 22:39:54 发布
"字符串1","字符串2","字符串3"; var str1=str1.replace(/\s+/g,""); var str2=str2.replace(/\s+/g,""); var str3=str3.replace(/\s+/g,"");