Skip to content

Commit e1e2cb4

Browse files
authored
Исправление (#2042)
Fixes response JSON
2 parents 8b3c7a4 + f1b852d commit e1e2cb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

5-network/08-xmlhttprequest/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ xhr.responseType = 'json';
171171
172172
xhr.send();
173173
174-
// тело ответа {"сообщение": "Привет, мир!"}
174+
// тело ответа {"message": "Привет, мир!"}
175175
xhr.onload = function() {
176176
let responseObj = xhr.response;
177177
alert(responseObj.message); // Привет, мир!

0 commit comments

Comments
 (0)