Special Characters (escape sequence) : Introduction : String JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » String » Introduction »

 

Special Characters (escape sequence)







A backslash character () creates special characters.



















































Escape Sequence Character
b Backspace
f Form feed
n Newline
r Carriage return
t Tab
' Single quote
" Double quote
\ Backslash
XXX Character represented by three octal digits XXX (0 to 377)
XX Character represented by two hexadecimal digits XX (00 to FF)
uXXXX Unicode character represented by four hexadecimal digits.








HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo String
» Introduction