<html>
<body>
<h1>JavaScript Numbers</h1>
<h2>The constructor Property</h2>
<p>The constructor property returns the function that created the Number prototype:</p>
<p id="demo"></p>
<script>
let num = 134.5;
let text = num.constructor;
document.getElementById("demo").innerHTML = text;
</script>
</body>
<!-- Mirrored from www.w3schools.com/jsref/tryit.asp?filename=tryjsref_constructor_num by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 05 Sep 2022 15:18:27 GMT -->
</html>