Lowest price ever! Learn Generative AI for 48% less!
Get my discount0
Are there any escape characters in JS?
for example if my text is like " John's dog said, "Bark" ". then how will I escape the double quotes inside string declaration?
1 Answer
+ 12
use the \ before the character
alert("escape \"quotes\"")