constructor 예제
<p id="demo"></p> <script> var bool = false; document.getElementById("demo").innerHTML = bool.constructor; </script> 결과보기
<p id="demo"></p>
<script>
var bool = false;
document.getElementById("demo").innerHTML = bool.constructor;
</script>
결과보기
결과값: function Boolean() { [native code] }