There was an error while loading. Please reload this page.
1 parent 0a3931c commit 6aff7a8Copy full SHA for 6aff7a8
README-zh-CN.md
@@ -2026,11 +2026,13 @@ try {
2026
}
2027
```
2028
2029
-### Don't ignore rejected promises
+### 不要忽略被拒绝的 promise
2030
For the same reason you shouldn't ignore caught errors
2031
from `try/catch`.
2032
2033
-**Bad:**
+与你不应忽略来自 `try/catch` 的错误的原因相同。
2034
+
2035
+**不好的:**
2036
```javascript
2037
getdata()
2038
.then((data) => {
@@ -2041,7 +2043,7 @@ getdata()
2041
2043
});
2042
2044
2045
-**Good:**
2046
+**好的:**
2047
2048
2049
0 commit comments