<html>
<body>
<h1>JavaScript Operators</h1>
<h2>The instanceof Operator</h2>
<p>The instanceof operator returns true if an object is an instance of a specified object type:</p>
<p id="demo"></p>
<script>
// Create a Date
const time = new Date();
document.getElementById("demo").innerHTML =
"Date: " + (time instanceof Date);
</script>
</body>
</html>