The String.raw tag function returns a string where escape sequences like n are treated as _______ text.

  • Formatted
  • Raw
  • Escaped
  • Plain
The String.raw tag function in ES6 returns a string where escape sequences are treated as raw text. It is useful when you want to include backslashes in a string without interpreting them as escape characters.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *