Boolean() 예제
<p id="demo"></p> <script> document.getElementById("demo").innerHTML = Boolean(4 > 3); </script> 결과보기
<p id="demo"></p>
<script>
document.getElementById("demo").innerHTML = Boolean(4 > 3);
</script>
결과보기
결과값: true