I have this var
var x = \"\"; Which is 相关标签: 8条回答 無奈伤痛 2020-12-09 02:43 Try this: x = x.replace(/\\/g, ""); 0 讨论(0) 发布评论: 提交评论 加载中... 长情又很酷 2020-12-09 02:44 You need to make there be one backslash instead of three.Like this: var x = "<div class=\"abcdef\">"; 0 讨论(0) 发布评论: 提交评论 加载中... 上一页 1 2 验证码 看不清? 提交回复
Which is
相关标签:
Try this:
x = x.replace(/\\/g, "");
You need to make there be one backslash instead of three.Like this:
var x = "<div class=\"abcdef\">";