Escape Sequence

A backslash code that represents a special character inside a string or character literal.

What is Escape Sequence in JavaScript?

Escape Sequence — A backslash code that represents a special character inside a string or character literal.

const receipt = "Tea:\t$3.00\nThanks!";

Level: Apprentice · More JavaScript terms at this level

Updated

In other subjects