📜  js 转义 & 符号 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:07.354000             🧑  作者: Mango

代码示例1
yourString.replace("&", "\u0026")
// or if you want to use it in backend, do like this
yourString.replace("&","\\u0026")
// and in the backend just replace it with "&" again