Edit This Code:
<!DOCTYPE html>
<html>
<body>

<p>The constructor property returns the function that created the boolean's prototype:</p>

<p id="demo"></p>

<script>
var bool = false;
document.getElementById("demo").innerHTML = bool.constructor;
</script>

</body>
</html>


Result:
Try it Yourself - © w3schools.com
Privacy Policy