How to prevent String auto escaping

后端 未结 0 1105
遇见更好的自我
遇见更好的自我 2021-02-05 10:30

I have a variate var a = \'\\204444\', and I want to remove \\, which is the result 204444. I tried using a.replace(/\\\\/g, \'\')

相关标签:
回答
  • 消灭零回复
提交回复
热议问题