While writing "\" in Chrome console I get the following error:
VM242674:1 Uncaught SyntaxError: Invalid or unexpected token
In Firefox it gives following error:
Uncaught SyntaxError: '' string literal contains an unescaped line break
while writting "\\" gives:
"\\" in both browsers
What is the proper way to write "\" in JavaScript?
'""'