JavaScript 的换行符和空格符问题
2018-02-02 · 知道合伙人数码行家
huanglenzhi
知道合伙人数码行家
向TA提问 私信TA
知道合伙人数码行家
采纳数:117538
获赞数:517202
长期从事计算机组装,维护,网络组建及管理。对计算机硬件、操作系统安装、典型网络设备具有详细认知。
向TA提问 私信TA
关注
展开全部
\0
The NUL character (\u0000).
\b
Backspace (\u0008).
\t
Horizontal tab (\u0009).
\n
Newline (\u000A).
\v
Vertical tab (\u000B).
\f
Form feed (\u000C).
\r
Carriage return (\u000D).
\"
Double quote (\u0022).
\'
Apostrophe or single quote (\u0027).
\\
Backslash (\u005C).
\xXX
The Latin-1 character specified by the two hexadecimal digits XX.
\uXXXX
The Unicode character specified by the four hexadecimal digitsXXXX.
\XXX
The Latin-1 character specified by the octal digits XXX, between 1 and 377. Not supported by ECMAScript v3; do not use this escape sequence.
The NUL character (\u0000).
\b
Backspace (\u0008).
\t
Horizontal tab (\u0009).
\n
Newline (\u000A).
\v
Vertical tab (\u000B).
\f
Form feed (\u000C).
\r
Carriage return (\u000D).
\"
Double quote (\u0022).
\'
Apostrophe or single quote (\u0027).
\\
Backslash (\u005C).
\xXX
The Latin-1 character specified by the two hexadecimal digits XX.
\uXXXX
The Unicode character specified by the four hexadecimal digitsXXXX.
\XXX
The Latin-1 character specified by the octal digits XXX, between 1 and 377. Not supported by ECMAScript v3; do not use this escape sequence.
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询