Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var xhr = new XMLHttpRequest();
- xhr.open("GET", "https://www.codecademy.com/", false);
- xhr.send();
- console.log(xhr.status);
- console.log(xhr.statusText);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement