We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8232b2f commit a607b9fCopy full SHA for a607b9f
.devcontainer/api/apiRequest.html
@@ -13,7 +13,7 @@
13
//it's a class so we habve to make it's object first
14
const xhr = new XMLHttpRequest();
15
xhr.open('GET' , requestURl); //but it doesn't continuously track the state
16
- xhr.onreadytstatechange = function(){
+ xhr.onreadystatechange = function(){
17
console.log(xhr.readyState);
18
if(xhr.readyState === 4){
19
const data = JSON.parse(this.responseText);
0 commit comments