I wanted to see what result I get when starting the next interface DOM 3
alert(DOMImplementation.hasFeature("Core", "3.0")); However, neither when using Microsoft Edge, nor when using Google Chrome received any reaction.
Is this DOM interface supported by 3 browsers, or am I doing something wrong?
DOMImplementationis an interface , so you can not accessDOMImplementation.hasFeature. To get an instance of this interface, you need to use document.implementation - Grundy