JSFiddle - React, Tailwind, and code Playground
by rafalry
HTML
<input type="button" value="go" onclick="go()"/>
JavaScript
function goAsync() {
setTimeout(function() { window.location="https://lh:8000/1" }, 0);
setTimeout(function() { window.location="https://lh:8000/2" }, 0);
}
function go() {
window.location="http://lh:8000/1";
window.location="http://lh:8000/2";
}