📜  javascript 删除所有空格 - Javascript 代码示例
📅  最后修改于: 2022-03-11 15:01:32.960000             🧑  作者: Mango
代码示例1
var spacesString= "Do I have spaces?";
var noSpacesString= myString.replace(/ /g,'');// "DoIhavespaces?"