Show Output
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>JavaScript Boolean Data Type</title> </head> <body> <script> // Creating variables var isReading = true; // yes, I'm reading var isSleeping = false; // no, I'm not sleeping // Printing variable values document.write(isReading + "<br>"); document.write(isSleeping); </script> </body> </html>