Skip to content

Commit 1747317

Browse files
committed
fix the word
1 parent 0d58e71 commit 1747317

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/proxy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -941,7 +941,7 @@ Object.getOwnPropertyNames(p)
941941

942942
上面代码中,`obj`对象的`a`属性是不可配置的,这时`ownKeys`方法返回的数组之中,必须包含`a`,否则会报错。
943943

944-
另外,如果目标对象是不可扩展的(non-extensition),这时`ownKeys`方法返回的数组之中,必须包含原对象的所有属性,且不能包含多余的属性,否则报错。
944+
另外,如果目标对象是不可扩展的(non-extensible),这时`ownKeys`方法返回的数组之中,必须包含原对象的所有属性,且不能包含多余的属性,否则报错。
945945

946946
```javascript
947947
var obj = {

0 commit comments

Comments
 (0)