-2

When i type /\\/ (slash, backslash, backslash, slash) into any javascript console in any browser, it just returns /\\/. I assume, this is an object, but what is it there for? Thank you for answers.

1 Answers1

-1

It is a literal for a RegExp that matches a backslash.

Jörg W Mittag
  • 363,080
  • 75
  • 446
  • 653