Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren0
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 Antwort
+ 12
use the \ before the character
alert("escape \"quotes\"")