Skip to content

Commit 85f43f5

Browse files
committed
Merge pull request BonsaiDen#303 from xis19/master
Changed a translatation sentence
2 parents 29e34dd + 746a2ea commit 85f43f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/zh/object/prototype.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
JavaScript 不包含传统的类继承模型,而是使用 *prototype* 原型模型。
44

55
虽然这经常被当作是 JavaScript 的缺点被提及,其实基于原型的继承模型比传统的类继承还要强大。
6-
实现传统的类继承模型是很简单,但是实现 JavaScript 中的原型继承则要困难的多
6+
例如,很容易通过原型继承实现传统的类继承模型,但是反过来,通过传统的类继承模型来实现原型继承模型就困难得多
77
(It is for example fairly trivial to build a classic model on top of it, while the
88
other way around is a far more difficult task.)
99

0 commit comments

Comments
 (0)