Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<meta charset="utf-8">
<div id="t"></div>
<script>
const len = 123;
document.getElementById("t").textContent = "a".repeat(len - 1) + "" + "x";
window.find("a".repeat(len - 1) + " ", true, false, false, false, false, false);
</script>