1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-12 01:34:19 +02:00

Merge pull request #1198 from runfastlynda/patch

input typo fixed
This commit is contained in:
Geoff Liu
2015-08-31 10:02:10 -06:00

View File

@@ -402,7 +402,7 @@ myObj.meaningOfLife; // = 42
// 函数也可以工作。
myObj.myFunc() // = "hello world!"
// 当然,如果你要访问的成员在原型当中也没有定义的话,解释器就会去找原型的原型,以此类
// 当然,如果你要访问的成员在原型当中也没有定义的话,解释器就会去找原型的原型,以此类
myPrototype.__proto__ = {
myBoolean: true
};