0
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 ответ
+ 12
use the \ before the character
alert("escape \"quotes\"")
for example if my text is like " John's dog said, "Bark" ". then how will I escape the double quotes inside string declaration?