How to print a string that is a quotation in javascript


He said,"Hello".
how do we write this in javascript


it is not difficult at all
instead of using " to embrace your global string, you can also use the single '
so you can use the command
print 'He said,"Hello".'


and for this : "I finished my first course!".


in the same way
the single ' embraces the string that you want to print
print '"I finished my first course!"'


Also you could "escape" them by using "Here comes a quote: \"quote\""