Display the value of Boolean(10>9) Try it <script> function myFunction() {document.ElementById("demo").innerHTML = Boolean(10>9);} </script>