We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4727ee1 commit 9d4520bCopy full SHA for 9d4520b
2 files changed
5-network/01-fetch/01-fetch-users/solution.md
@@ -2,9 +2,9 @@
2
要获取一个用户,我们需要:
3
4
1. `fetch('https://api.github.com/users/USERNAME')`.
5
-2. 如果相应状态码是 `200` 就调用 `.json()` 来读取 JS 对象。
+2. 如果响应状态码是 `200` 就调用 `.json()` 来读取 JS 对象。
6
7
-如果 `fetch` 失败,或者相应状态码不是 200,我们只要返回 `null` 到最终结果数组中就行了。
+如果 `fetch` 失败,或者响应状态码不是 200,我们只要返回 `null` 到最终结果数组中就行了。
8
9
下面是参考代码:
10
5-network/01-fetch/article.md
100755
100644
0 commit comments