Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<body>
<h1>JavaScript Booleans</h1>
<h2>The constructor Property</h2>
<p>The constructor property returns the function that created the Boolean prototype:</p>
<p id="demo"></p>
<script>
let bool = false;
let text = bool.constructor;
document.getElementById("demo").innerHTML = text;
</script>
</body>
</html>