Skip to content

Instantly share code, notes, and snippets.

@CodersArts
Created October 18, 2019 12:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CodersArts/b578f59171459e920dbe66a256de5c21 to your computer and use it in GitHub Desktop.
Save CodersArts/b578f59171459e920dbe66a256de5c21 to your computer and use it in GitHub Desktop.
#Codersarts
<!DOCTYPE html>
<html>
<body>
<p>Display the value of Boolean(20 > 19):</p>
<button onclick="myFunction()">Try it</button>
<p id="demo"></p>
<script>
function myFunction() {
document.getElementById("demo").innerHTML = Boolean(10 > 9);
}
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment