Skip to content

Commit 1067d0b

Browse files
authored
fix: 优化翻译
1 parent f4ff4dc commit 1067d0b

File tree

1 file changed

+1
-1
lines changed
  • 1-js/08-prototypes/02-function-prototype

1 file changed

+1
-1
lines changed

1-js/08-prototypes/02-function-prototype/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ Rabbit.prototype = {
162162

163163
- `F.prototype` 属性(不要把它与 `[[Prototype]]` 弄混了)在 `new F` 被调用时为新对象的 `[[Prototype]]` 赋值。
164164
- `F.prototype` 的值要么是一个对象,要么就是 `null`:其他值都不起作用。
165-
- `"prototype"` 属性仅在设置了一个构造函数(constructor function,并通过 `new` 调用时,才具有这种特殊的影响。
165+
- `"prototype"` 属性仅当设置在一个构造函数上,并通过 `new` 调用时,才具有这种特殊的影响。
166166

167167
在常规对象上,`prototype` 没什么特别的:
168168
```js

0 commit comments

Comments
 (0)