Run ❯
Get your
own
website
Result Size:
625 x 565
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
<!DOCTYPE html> <html> <body> <h1>JavaScript Booleans</h1> <p>Display the Boolean value of "":</p> <p id="demo"></p> <script> let x = ""; document.getElementById("demo").innerHTML = Boolean(""); </script> </body> </html>