0

What do you put before exclaiming a string in JavaScript? like if i wanted to say “memes” what would I put before it?

24th Dec 2019, 12:08 PM
monkey
monkey - avatar
2 Respostas
+ 1
You mean using quoted string? for the quoted string prepend a backslash before the quote. alert("That's a \"brilliant\" idea!"); Edit: This topic is covered in the lesson, check again.
24th Dec 2019, 12:35 PM
Ipang
0
not what i meant, but thanks anyways
24th Dec 2019, 1:42 PM
monkey
monkey - avatar