Show Output
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Creating Strings in JavaScript</title> </head> <body> <script> // Creating variables let myString1 = 'Hello World!'; // Single quoted string let myString2 = "Hello World!"; // Double quoted string // Printing variable values document.write(myString1 + "<br>"); document.write(myString2); </script> </body> </html>