Skip to content

Commit 78ce6cb

Browse files
lex111Kichikahunov
andauthored
Update 1-js/11-async/05-promise-api/article.md
Co-Authored-By: Kichikahunov <kichikahunov@gmail.com>
1 parent 8396bcf commit 78ce6cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

1-js/11-async/05-promise-api/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ let requests = names.map(name => fetch(`https://api.github.com/users/${name}`));
121121

122122
Promise.all(requests)
123123
.then(responses => {
124-
// все промисы выполнены, мы можем показать HTTP статус
124+
// все промисы выполнены, можно показать код HTTP-состояния
125125
for(let response of responses) {
126126
alert(`${response.url}: ${response.status}`); // покажет 200 для каждой ссылки
127127
}

0 commit comments

Comments
 (0)