CodeBeginner

Backslash

Also known as reverse solidus

The character \ used in JavaScript strings to introduce escape sequences and in some systems as a path separator.

In the real world

In JavaScript, '\n' represents a newline, while '\\' represents one literal backslash.

Related

Go a little deeper