The _________ property of the XMLHttpRequest object holds the status of the XMLHttpRequest.
- statusText
- response
- status
- readyState
The status property of the XMLHttpRequest object holds the HTTP status code of the response received from the server. It indicates whether the request was successful or encountered an error. statusText contains the status message associated with the status code. response contains the response data.
Loading...
Related Quiz
- What does a Promise represent in JavaScript?
- The ________ method is used to read a Response stream and return it as a blob.
- How does JavaScript implement inheritance internally?
- How can you select an element within a specific parent element using JavaScript?
- A common use-case for a "for" loop in asynchronous programming is to use it with the ________ function.