Result Size: 625 x 534
x
 
<!DOCTYPE html>
<html>
<body>
<h2>JavaScript 字符串</h2>
<p>转义序列 \\ 在字符串中插入反斜杠。</p>
<p id="demo"></p>
<script>
var x = "字符 \\ 称为反斜杠。";
document.getElementById("demo").innerHTML = x; 
</script>
</body>
</html>