<html>
<body>
<h1>The Window History Object</h1>
<h2>The history.length Property</h2>
<p>Number of URLs in history list:</p>
<p id="demo"></p>
<p>Since this is a new window frame, history.length will always return 1.</p>
<script>
let length = history.length;
document.getElementById("demo").innerHTML = length;
</script>
</body>
<!-- Mirrored from www.w3schools.com/jsref/tryit.asp?filename=tryjsref_his_length1 by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 21 Dec 2022 17:39:27 GMT -->
</html>