zig.com Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<body>
<h1>JavaScript Booleans</h1>
<p>Display the Boolean value of  -0:</p>
<p id="demo"></p>
<script>
  let x = -0;
  document.getElementById("demo").innerHTML = Boolean(x);
</script>
</body>
<!-- /js/tryit.asp?filename=tryjs_boolean_minus  Thu, 06 Feb 2025 18:15:26 GMT -->
</html>