Expert Developer JavaScript Question:
Download Job Interview Questions and Answers PDF
What are escape characters?
Answer:
Escape characters (Backslash) is used when working with special characters like single quotes, double quotes, apostrophes and ampersands. Place backslash before the characters to make it display.
Example:
document.write "I m a "good" boy"
document.write "I m a "good" boy"
Example:
document.write "I m a "good" boy"
document.write "I m a "good" boy"
Download Expert JavaScript Developer Interview Questions And Answers
PDF
Previous Question | Next Question |
What is an undefined value in JavaScript? | What is the use of type of operator? |