Skip to content

Commit 938bf87

Browse files
committed
Fix typo
1 parent be90a83 commit 938bf87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/features/error.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ decodeURI('%2')
133133

134134
### 总结
135135

136-
以上这6种派生错误,连同原始的`Error`对象,都是构造函数。开发者可以使用它们,手动生成错误对象的实例。这些构造函数都接受一个函数,代表错误提示信息(message)。
136+
以上这6种派生错误,连同原始的`Error`对象,都是构造函数。开发者可以使用它们,手动生成错误对象的实例。这些构造函数都接受一个参数,代表错误提示信息(message)。
137137

138138
```javascript
139139
var err1 = new Error('出错了!');

0 commit comments

Comments
 (0)