summaryrefslogtreecommitdiffhomepage
path: root/zh-cn
diff options
context:
space:
mode:
authorGeoff Liu <cangming.liu@gmail.com>2015-05-28 00:12:03 -0600
committerGeoff Liu <cangming.liu@gmail.com>2015-05-28 00:12:03 -0600
commitb33799a8d52b77de45505ca533f0533b39bbc1d6 (patch)
treea79b5bcd6c9bd5112b269d5d901fa3e1352f950b /zh-cn
parent5ac5b265fe48d06d8b0def546bdcfc6f77e255a7 (diff)
parent7a4538374c4b86a355573039cc5426a32e936d11 (diff)
Merge pull request #1117 from ryanouyang/patch-1
Fix typo of chinese translation
Diffstat (limited to 'zh-cn')
-rw-r--r--zh-cn/javascript-cn.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/zh-cn/javascript-cn.html.markdown b/zh-cn/javascript-cn.html.markdown
index 64b0aadc..b450ab84 100644
--- a/zh-cn/javascript-cn.html.markdown
+++ b/zh-cn/javascript-cn.html.markdown
@@ -341,7 +341,7 @@ var myFunc = myObj.myFunc;
myFunc(); // = undefined
// 相应的,一个函数也可以被指定为一个对象的方法,并且可以通过`this`访问
-// 这个对象的成员,即使在行数被定义时并没有依附在对象上。
+// 这个对象的成员,即使在函数被定义时并没有依附在对象上。
var myOtherFunc = function(){
return this.myString.toUpperCase();
}