javascript 怎么把字符串中的特殊符号转义js中的特殊字符,加上转义符 。例如:var txt="We are the so-called "Vikings" from the north." document.write(txt) 【错误2023-03-16JavaScript260