Show Output
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Including Quotes inside the JavaScript String</title> </head> <body> <script> // Creating variables let a = "Let's have a cup of coffee."; let b = 'He said "Hello" and left.'; let c = 'We\'ll never give up.'; // Printing variable values document.write(a + "<br>"); document.write(b + "<br>"); document.write(c); </script> </body> </html>