JSFiddle - React, Tailwind, and code Playground

by Timmy Willison

HTML

<div id="foo\\asdf"></div>

JavaScript

console.log( $('#foo\\\\\\\\asdf') );

// override to simulate IE behavior
document.querySelectorAll = null;

console.log( $('#foo\\\\\\\\asdf') );