Skip to content

Commit a100783

Browse files
committed
docs(object): fixed typo
1 parent b7b6c91 commit a100783

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/object.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -783,7 +783,7 @@ actual.cause; // 'Error cause'
783783

784784
上面示例中,生成 Error 实例时,使用描述对象给出`cause`属性,写入报错的原因。然后,就可以从实例对象上读取这个属性。
785785

786-
`casue`属性可以放置任意内容,不必一定是字符串。
786+
`cause`属性可以放置任意内容,不必一定是字符串。
787787

788788
```javascript
789789
try {

0 commit comments

Comments
 (0)