DEV Community

Hardik Mirg
Hardik Mirg

Posted on

3 2

Escape Sequence Characters in JavaScript

Escape Sequence Characters

Escape Sequence Characters, as the name suggests, is used to escape a particular sequence or to display special characters. They can also be used withing strings.

  • \' Single quote
  • \" Double Quoted
  • \ Backslash
  • \b backspace
  • \f form feed
  • \n newline
  • \r carriage return
  • \t horizontal tabulator
  • \v vertical tabulator

Hope you learned something useful today! Peace Out ✌️

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay