Escape
sequences give special meaning when JavaScript interprets them. Following table
summarizes the escape sequences supported by JavaScript.
Escape Sequence
|
Description
|
\0
|
Represent
NUL character
|
\b
|
Backspace
|
\t
|
Horizontal
tab
|
\v
|
Vertical
tab
|
\n
|
New line
|
\f
|
Form
feed
|
\r
|
Carriage
return
|
\"
|
Double
quote
|
\'
|
Single
quote
|
\\
|
Backslash
|
\x XX
|
Latin-1
character specified by the two hexadecimal digits XX
|
\u XXXX
|
Unicode
character specified by the four hexadecimal digits XXXX
|
No comments:
Post a Comment