Frontend
Interviews
.dev
Problems
684. String.raw Escape Behavior
Easy
•
...
Predict the output.
console
.
log
(
String
.
raw
`
a\nb
`
)
What is printed in the console?
a new line b
a\nb
ab
TypeError
Submit Answer
Reveal Answer
Select an option and submit your answer.
Next Problem
Auto-advance on correct answer