JSFiddle - React, Tailwind, and code Playground

HTML

<>

JavaScript

for(i=0;i<1000;i++)
{
    url = document.createElement('a');
    url.href = "https://ya.ru/x/a?s=e#sdf";
    if(url.hash=='a') alert(url.hash);
    unset(url)
}