<html>
<body>
<h1>The Document Object</h1>
<h2>The implementation Property</h2>
<p>Does this document has the feature Tesla X?</p>
<p id="demo"></p>
<script>
let answer = document.implementation.hasFeature("TESLA", "X");
document.getElementById("demo").innerHTML = answer;
</script>
</body>
<!-- Mirrored from www.w3schools.com/jsref/tryit.asp?filename=tryjsref_document_implementation1 by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 05 Sep 2022 15:18:53 GMT -->
</html>