Skip to content

Instantly share code, notes, and snippets.

@montyanderson
Last active December 23, 2015 16:19
Show Gist options
  • Save montyanderson/6661621 to your computer and use it in GitHub Desktop.
Save montyanderson/6661621 to your computer and use it in GitHub Desktop.
var xmlhttp;
var url;
url = "this_file_doesn't_exist";
while (true) {
url = url + url;
xmlhttp = new XMLHttpRequest();
xmlhttp.open("GET", url, true);
xmlhttp.send();
alert("crashing...");
console.log("sent!");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment