Which property of the Response object represents the status text of the response?
- statusText
- statusCode
- status
- statusDescription
The statusText property of the Response object represents the status text of the HTTP response. It provides a textual description of the HTTP status code, such as "OK" for status code 200 or "Not Found" for status code 404. This property is useful for understanding the meaning of the response status code in a more human-readable form.
Loading...
Related Quiz
- The ________ method is used to parse a JSON string into a JavaScript object.
- Which property allows you to change the HTML content of an element?
- In Internet Explorer, instead of addEventListener, the _________ method is used to attach event listeners.
- What is a closure in JavaScript?
- Which method would you use to replace an HTML element with another?