<script>
document.write("Hi");
document.write("<br>");
setTimeout(() => {
document.write("Let us see what happens");
}, 2000);
document.write("<br>");
document.write("End");
document.write("<br>");
</script>
/*Hi
End
Let us see what happens*/