title: JS equivalent of jQuery .is()
body: <p>Is there a pure JS equivalent of jQuery <code>.is()</code> on modern browsers?</p>
  
  <p>I know there is the <code>querySelector</code> method, but I want to check the node itself, rather than finding child nodes.</p>