Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<body>
<h1>JavaScript Math</h1>
<h2>The Math.LN2 Property</h2>
<p>Math.LN2 returns the natural logarithm of 2, approximately 0.693:</p>
<p id="demo"></p>
<script>
document.getElementById("demo").innerHTML = Math.LN2;
</script>
</body>
</html>