JSFiddle - React, Tailwind, and code Playground
HTML
<p>In the Windows XP and Windows Vista versions of Internet Explorer 8, clicking the following button will cause the tab to crash.</p>
<p><input type="button" value="READ THE TEXT ABOVE BEFORE CLICKING"></p>
JavaScript
$('input').click(function() {
try {
var questions = document.querySelectorAll('.p');
}
catch (e) {
alert('An error occurred using "document.querySelectorAll"');
var questions = [];
}
for (var el in questions)
break;
$('body').append('<p>No crash!</p>');
});