Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var fileName = "http://www.puzzlers.org/pub/wordlists/pocket.txt";
- var txtFile = new XMLHttpRequest();
- txtFile.open("GET",fileName,false);
- txtFile.send(null);
- var txtDoc=txtFile.responseText;
- var lines = txtDoc.split("rn");
- console.log(txtDoc);
Add Comment
Please, Sign In to add comment