JSFiddle - React, Tailwind, and code Playground

JavaScript

// Running this causes jQuery to execute
//     element.contains(textElement),
// which causes a "No such interface supported" error in IE8 
// while other browsers are fine. If you check against another
// element instead of textNode, the error does not occur.

var element = document.createElement("div");
var textNode = document.createTextNode("x");
document.write($.contains(element, textNode));