'' or double quotes
What if you need quotes in your string. How do you do that?
For example, i have a string which is
Tom says, “I like playing Football.”
If i declare it like
var str = "Tom says, "I like playing Football."".
So, above variable could be properly declared as :
var str = "Tom says, \"I like playing Football\"."
Hope this helps.