Show Output
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>JavaScript String Data Type</title> </head> <body> <script> // Creating variables let a = 'Hi there!'; // using single quotes let b = "Hi there!"; // using double quotes // Printing variable values document.write(a + "<br>"); document.write(b); </script> </body> </html>