Search code examples
javascriptquotes

Quotes & escaping in Javascript


is there a smart way in js to insert mixedsingle and double quotes, like python

"""string"""

syntax? Or similar stuff, which I believe is present in Perl or PHP.


Solution

  • No, you're stuck with escaping the quotes.